def test_is_valid_longitude_low_correct(self): longitude = -180 self.assertTrue(MapObject.is_valid_longitude(longitude))
def test_is_valid_longitude_too_low(self): longitude = -181 self.assertFalse(MapObject.is_valid_longitude(longitude))