Exemple #1
0
 def test_block_count(self):
     t = Template()
     t.add(Block(1))
     t.add(Block(2))
     t.add(Block(5))
     block_count = t.count_by_block()
     assert len(block_count.keys()) == 3
Exemple #2
0
 def test_empty(self):
     t = Template()
     d = t.box_dimensions()
     b = t.count_by_block()
     assert True