示例#1
0
    def test_is_between_longitudes_g(self):
        min_long = 45
        location_long = -120
        max_long = -160

        obj = MapObject(location_long=location_long)
        self.assertFalse(
            obj.is_between_longitudes(min_long=min_long, max_long=max_long))
示例#2
0
    def test_is_between_longitudes_c(self):
        min_long = 100
        location_long = 170
        max_long = 150

        obj = MapObject(location_long=location_long)
        self.assertFalse(
            obj.is_between_longitudes(min_long=min_long, max_long=max_long))