def test_accessors(self): projString = "+proj=utm +zone=11" cs = CSGeo() cs.inventory.crsString = projString cs.inventory.spaceDim = 2 cs._configure() self.assertEqual(projString, cs.getString()) self.assertEqual(2, cs.getSpaceDim())
def test_constructor(self): cs = CSGeo() cs._configure() self.assertEqual(3, cs.getSpaceDim())