'Testing equivalence.'

def test01k_eq(self):

    p = fromstr('POINT(5    23)')
    self.assertEqual(p, p.wkt)
    self.assertNotEqual(p, 'foo')
    ls = fromstr('LINESTRING(0    0,    1    1,    5    5)')
    self.assertEqual(ls, ls.wkt)
    self.assertNotEqual(p, 'bar')
    for g in (p, ls):
        self.assertNotEqual(g, None)
        self.assertNotEqual(g, {'foo': 'bar'})
        self.assertNotEqual(g, False)
