def testPut2(self): # Create space space = pd.space.Lattice2D(4, 4) # Overput put space.put((1,1), "String1") put_return = space.put((1,1), "String2") self.assertFalse(put_return)
def testPut(self): # Create space space = pd.space.Lattice2D(4, 4) # Simple put put_return = space.put((1,1), "StringX") self.assertTrue(put_return)