def test_remove_failure(self): vs = VectorSet(self.parent_node) self.assertEqual(vs.remove(self.vP1), False)
def test_remove_succeed(self): vs = VectorSet(self.parent_node) vs.add(self.vP1) self.assertEqual(vs.remove(self.vP1), True)