Пример #1
0
 def testPerpendicularThroughPoint(self):
     L1 = Line(Point(0, 0), Point(1, 1))
     Lr = Line(Point(2, 0), Point(0, 2))
     p = Point(1, 1)
     self.assertEqual(L1.perpendicular_through_point(p), Lr)