Esempio n. 1
0
 def test_fullcoordinates_do_match_partially_returns_longitude(self):
     self.assertEquals(StaticCoordinate.match_partially('N 47° 03.204 E 008° 18.557'), 'N 47° 03.204')
Esempio n. 2
0
 def test_partial_coordinates_do_match_partially(self):
     self.assertTrue(StaticCoordinate.match_partially('N 47° 03.204'))
     self.assertTrue(StaticCoordinate.match_partially('E 008° 18.557'))