Skip to content

Commit

Permalink
Update test_checker.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ikostan committed Dec 14, 2024
1 parent 759acb0 commit 2d5fa44
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions kyu_5/tic_tac_toe_checker/test_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,8 @@ class IsSolvedTestCase(unittest.TestCase):
"""Testing is_solved function."""

@parameterized.expand([
([[0, 0, 1],
[0, 1, 2],
[2, 1, 0]], -1, 'not yet finished'),
([[1, 1, 1],
[0, 2, 2],
[0, 0, 0]], 1, 'winning row'),
([[0, 0, 1], [0, 1, 2], [2, 1, 0]], -1, 'not yet finished'),
([[1, 1, 1], [0, 2, 2], [0, 0, 0]], 1, 'winning row'),
([[2, 1, 2],
[2, 1, 1],
[1, 1, 2]], 1, 'winning column'),
Expand Down

0 comments on commit 2d5fa44

Please sign in to comment.