def test_put(self): s = PowerSet() s.put('One') self.assertEqual(s.get('One'), True) s.put('One') self.assertEqual(s.get('One'), True)
def test_remove(self): s = PowerSet() s.put('One') self.assertEqual(s.get('One'), True) s.remove('One') self.assertEqual(s.get('One'), False)