Exemple #1
0
def test_geographic_distance(loc1, loc2, expected):
    result = geographic_distance(loc1, loc2)
    assert result == pytest.approx(expected)
Exemple #2
0
 def geographic_distance(self, other):
     return geographic_distance(self, other)
Exemple #3
0
 def geographic_distance(self, other):
     return geographic_distance(self, other)