Exemplo n.º 1
0
 def test_points(self):
     p1 = IntegerPoint(0, 1)
     p2 = IntegerPoint(1, 1)
     res = IntegerSegment(p1, p2)
     self.assertTupleEqual(res.vertices(), (p1, p2))