def test_get_path_point(self): """ get_path_point returns correct points """ pp = PathParser(None) pp.cur_point = (1, 2) self.assertEqual(pp.get_path_point((3, 4), False), (3, 4)) self.assertEqual(pp.get_path_point((3, 4), True), (4, 6))