'Testing GeoQuerySet.perimeter() on 3D fields.'

def test04_perimeter(self):

    ref_perim_3d = 76859.2620451
    ref_perim_2d = 76859.2577803
    tol = 6
    self.assertAlmostEqual(ref_perim_2d, Polygon2D.objects.perimeter().get(name='2D    BBox').perimeter.m, tol)
    self.assertAlmostEqual(ref_perim_3d, Polygon3D.objects.perimeter().get(name='3D    BBox').perimeter.m, tol)
