示例#1
0
 def test_init(self):
     pointset = GeoPointset()
     georegion = GeoRegion(pointset)
     self.assertEqual(0, len(georegion))
示例#2
0
 def test_init(self):
     gp = GeoPointset()
     self.assertEqual(0, len(gp))
示例#3
0
 def test_repr(self):
     pointset = GeoPointset()
     georegion = GeoRegion(pointset)
     self.assertTrue(repr(georegion).startswith('GeoRegion'))
示例#4
0
 def test_repr(self):
     gp = GeoPointset()
     self.assertTrue(repr(gp).startswith('GeoPointset'))