class TestVisitSearchable(unittest.TestCase): def setUp(self): self.s = VisitSearchable() self.s.insert(1) self.s.insert(2) def test_contains(self): self.assertTrue(1 in self.s) self.assertFalse(10 in self.s)
def setUp(self): self.s = VisitSearchable() self.s.insert(1) self.s.insert(2)