'Testing three-dimensional geometries.'

def test_threed(self):

    pnt = Point(2, 3, 8)
    self.assertEqual((2.0, 3.0, 8.0), pnt.coords)
    self.assertRaises(TypeError, pnt.set_coords, (1.0, 2.0))
    pnt.coords = (1.0, 2.0, 3.0)
    self.assertEqual((1.0, 2.0, 3.0), pnt.coords)
    ls = LineString((2.0, 3.0, 8.0), (50.0, 250.0, (-117.0)))
    self.assertEqual(((2.0, 3.0, 8.0), (50.0, 250.0, (-117.0))), ls.tuple)
    self.assertRaises(TypeError, ls.__setitem__, 0, (1.0, 2.0))
    ls[0] = (1.0, 2.0, 3.0)
    self.assertEqual((1.0, 2.0, 3.0), ls[0])
