More colour box tests.
This commit is contained in:
parent
a5b46906e1
commit
62063db128
|
@ -8,9 +8,12 @@ class ColourboxesTest(unittest.TestCase):
|
||||||
def test_generation(self):
|
def test_generation(self):
|
||||||
for args in ((1, 1),
|
for args in ((1, 1),
|
||||||
(2, 2),
|
(2, 2),
|
||||||
(3, 3)):
|
(3, 3),
|
||||||
|
(4, 6)):
|
||||||
boxes = generate_colour_boxes(*args)
|
boxes = generate_colour_boxes(*args)
|
||||||
print(boxes)
|
print()
|
||||||
|
for box in boxes:
|
||||||
|
print(box)
|
||||||
self.assertTrue(makes_all_wells_white(boxes))
|
self.assertTrue(makes_all_wells_white(boxes))
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in New Issue