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

Commit b8633ed

Browse files
committed
Fix bricks module tests
1 parent 1cfb2af commit b8633ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/datasets/bricks_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ def test_brick_counter(bricks_wall, bricks_count):
66

77

88
def test_matrix_builder(bricks_wall, position):
9+
assert bricks.get_least_bricks_position([[1]]) == 0
10+
assert bricks.get_least_bricks_position([[1], [1]]) == 0
911
assert bricks.get_least_bricks_position(bricks_wall) == position
1012

1113

1214
def test_least_bricks(bricks_wall, small_bricks_wall):
13-
assert bricks.get_least_bricks_count([[1]]) == 0
14-
assert bricks.get_least_bricks_count([[1], [1]]) == 0
1515
assert bricks.get_least_bricks_count(bricks_wall) == 1
1616
assert bricks.get_least_bricks_count(small_bricks_wall) == 3
1717

0 commit comments

Comments
 (0)