More colour box tests.

This commit is contained in:
Niels Serup 2012-08-08 14:12:38 +02:00
parent a5b46906e1
commit 62063db128
1 changed files with 5 additions and 2 deletions

View File

@ -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__':