def test_new_format(self): xy_list = pointsStringToXYlist(("1,2 3,4 5,6")) assert xy_list == [(1, 2), (3, 4), (5, 6)]
def test_old_format(self): xy_list = pointsStringToXYlist(("points[1,2, 3,4, 5,6] ")) assert xy_list == [(1, 2), (3, 4), (5, 6)]
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
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