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