'Testing the length property.'

def test_length(self):

    pnt = Point(0, 0)
    self.assertEqual(0.0, pnt.length)
    ls = LineString((0, 0), (1, 1))
    self.assertAlmostEqual(1.41421356237, ls.length, 11)
    poly = Polygon(LinearRing((0, 0), (0, 1), (1, 1), (1, 0), (0, 0)))
    self.assertEqual(4.0, poly.length)
    mpoly = MultiPolygon(poly.clone(), poly)
    self.assertEqual(8.0, mpoly.length)
