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)
예제 #2
0
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)
예제 #4
0
 def setUp(self):
     self.s = VisitSearchable()
     self.s.insert(1)
     self.s.insert(2)