Ejemplo n.º 1
0
 def test_new_format(self):
     xy_list = pointsStringToXYlist(("1,2 3,4 5,6"))
     assert xy_list == [(1, 2), (3, 4), (5, 6)]
Ejemplo n.º 2
0
 def test_old_format(self):
     xy_list = pointsStringToXYlist(("points[1,2, 3,4, 5,6] "))
     assert xy_list == [(1, 2), (3, 4), (5, 6)]
Ejemplo n.º 3
0
 def testNewFormat(self):
     xyList = pointsStringToXYlist(("1,2 3,4 5,6"))
     assert xyList == [(1, 2), (3, 4), (5, 6)]
     return xyList
Ejemplo n.º 4
0
 def testOldFormat(self):
     xyList = pointsStringToXYlist(("points[1,2, 3,4, 5,6] "))
     assert xyList == [(1, 2), (3, 4), (5, 6)]
     return xyList
Ejemplo n.º 5
0
 def testNewFormat(self):
     xyList = pointsStringToXYlist((
         "1,2 3,4 5,6"
     ))
     assert xyList == [(1, 2), (3, 4), (5, 6)]
     return xyList
Ejemplo n.º 6
0
 def testOldFormat(self):
     xyList = pointsStringToXYlist((
         "points[1,2, 3,4, 5,6] "
     ))
     assert xyList == [(1, 2), (3, 4), (5, 6)]
     return xyList