def test_extent(self): e = Extent(x_min=1, y_min=1.5, x_max=2, y_max=3) e.save() result = e.extent() expected = (1.0, 1.5, 2.0, 3.0) self.assertEquals(result, expected)
def test_smoke(self): e = Extent(x_min=1, y_min=1.5, x_max=2, y_max=3) e.save()