Example #1
0
 def test_right_of_false(self):
     a = Point(0, 1)
     b = Line(Point(0, 0), Point(1, 1))
     self.assertFalse(a.right_of(b))
Example #2
0
 def test_right_of_on(self):
     a = Point(2, 2)
     b = Line(Point(0, 0), Point(1, 1))
     self.assertTrue(a.right_of(b))