Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
Fix bricks module tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shorodilov committed Oct 25, 2023
1 parent 1cfb2af commit b8633ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/datasets/bricks_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ def test_brick_counter(bricks_wall, bricks_count):


def test_matrix_builder(bricks_wall, position):
assert bricks.get_least_bricks_position([[1]]) == 0
assert bricks.get_least_bricks_position([[1], [1]]) == 0
assert bricks.get_least_bricks_position(bricks_wall) == position


def test_least_bricks(bricks_wall, small_bricks_wall):
assert bricks.get_least_bricks_count([[1]]) == 0
assert bricks.get_least_bricks_count([[1], [1]]) == 0
assert bricks.get_least_bricks_count(bricks_wall) == 1
assert bricks.get_least_bricks_count(small_bricks_wall) == 3

Expand Down

0 comments on commit b8633ed

Please sign in to comment.