コード例 #1
0
ファイル: algorithm-tests.py プロジェクト: ucl-team-8/service
 def test_distance2(self):
     self.assertLess(
         abs(geo_distance.calculateDist(coord3, coord4) - 647.259510348751), tolerance
     )
コード例 #2
0
ファイル: algorithm-tests.py プロジェクト: ucl-team-8/service
 def test_distance1(self):
     self.assertLess(
         abs(geo_distance.calculateDist(coord1, coord2) - 278.54558935106695), tolerance
     )