Exemplo n.º 1
0
 def test2_(self):
     s1 = Polygon([(0.0, 0.25), (1.0, 0.75)])
     z = [(0.0, 0.25), (1.0, 0.75)]
     #r = list(_merge_generator1(s1,s2))
     r = [(x, y) for (x, y) in s1.getValuesXY()]
     self.assertEqual(z, r)