Example #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)]
Example #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)]
Example #3
0
 def testNewFormat(self):
     xyList = pointsStringToXYlist(("1,2 3,4 5,6"))
     assert xyList == [(1, 2), (3, 4), (5, 6)]
     return xyList
Example #4
0
 def testOldFormat(self):
     xyList = pointsStringToXYlist(("points[1,2, 3,4, 5,6] "))
     assert xyList == [(1, 2), (3, 4), (5, 6)]
     return xyList
 def testNewFormat(self):
     xyList = pointsStringToXYlist((
         "1,2 3,4 5,6"
     ))
     assert xyList == [(1, 2), (3, 4), (5, 6)]
     return xyList
 def testOldFormat(self):
     xyList = pointsStringToXYlist((
         "points[1,2, 3,4, 5,6] "
     ))
     assert xyList == [(1, 2), (3, 4), (5, 6)]
     return xyList