Exemple #1
0
 def test_vertical(self):
     shape = Shape('..##:....:....:....')
     left, right = shape.cut()
     assert left == '..##:....:....:....'
     assert right == '....:....:....:....'
Exemple #2
0
 def test_full_layer(self):
     shape = Shape('####:....:....:....')
     left, right = shape.cut()
     assert left == '..##:....:....:....'
     assert right == '##..:....:....:....'