def test_set_height(self):
     box = ConstructionBox()
     box.height = -4
     assert box.height == 4
     assert box.center.isclose((0, 0))
     assert box[0].isclose((-0.5, -2))
     assert box[2].isclose((+0.5, +2))
 def test_set_height(self):
     box = ConstructionBox()
     box.height = -4
     assert box.height == 4
     assert box.center == (0, 0)
     assert box[0] == (-0.5, -2)
     assert box[2] == (+0.5, +2)