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