def test_dstance_big_numbers(): origen = (793699, 274913) destination = (981665, 218777) assert (TSP.distance(origen, destination) == 196169)
def test_distance_from_origen(): assert (TSP.distance((0, 0), (5, 0)) == 5) assert (TSP.distance((0, 0), (0, 5)) == 5)