def test_set_center(self): box = ConstructionBox() box.center = (0.5, 0.5) assert box.center.isclose((0.5, 0.5)) assert box[0].isclose((0, 0))
def test_set_center(self): box = ConstructionBox() box.center = (.5, .5) assert box.center == (.5, .5) assert box[0] == (0, 0)