3 from TestSketcher import SketcherTestCase
5 class SketcherSetHorizontal(SketcherTestCase):
7 line = self.sketch.addLine(0, 0, 1, 1)
8 self.sketch.setHorizontal(line.result())
10 self.assertEqual(line.startPoint().y(), line.endPoint().y())
12 if __name__ == "__main__":