Skip to content

Commit

Permalink
feat: fixed test to work with the color settup
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduard-Prokhorikhin committed Apr 23, 2024
1 parent 6704d2d commit 1eae354
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions test/agents/test_heuristic_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ def test_result_heuristic_agent():
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[1, 0, 0, 0, 0, 0, 0, 0, 0, 1],
[1, 1, 0, 0, 0, 0, 1, 0, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 0, 0, 0, 0, 2, 0, 1, 1],
[1, 1, 1, 1, 1, 2, 2, 1, 1, 1],
[1, 1, 1, 1, 1, 2, 1, 1, 1, 1],
]

block = Block(3, 0, 1)
Expand Down
8 changes: 4 additions & 4 deletions test/game/test_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,8 @@ def test_slide_right_block_on_top_of_another_block():
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 1, 0, 0, 0, 0],
[0, 0, 0, 0, 1, 1, 1, 0, 0, 0],
[0, 0, 0, 0, 0, 6, 0, 0, 0, 0],
[0, 0, 0, 0, 6, 6, 6, 0, 0, 0],
[0, 0, 0, 0, 0, 1, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 1, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 1, 0, 0, 0, 0],
Expand Down Expand Up @@ -411,8 +411,8 @@ def test_slide_right_block_on_under_another_block():
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 1, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 1, 0, 0, 0, 0],
[0, 0, 0, 0, 1, 1, 0, 0, 0, 0],
[0, 0, 0, 1, 1, 1, 0, 0, 0, 0],
[0, 0, 0, 0, 6, 1, 0, 0, 0, 0],
[0, 0, 0, 6, 6, 6, 0, 0, 0, 0],
]

board.doAction(Action.MOVE_LEFT)
Expand Down

0 comments on commit 1eae354

Please sign in to comment.