Пример #1
0
 def test_insert_path_middle(self):
     look_in = [p1, p2, p4]
     search.insert_path(p3, look_in, comp)
     self.assertEqual(paths, look_in)
Пример #2
0
 def test_insert_path_end(self):
     look_in = [p1, p2, p3]
     search.insert_path(p4, look_in, comp)
     self.assertEqual(paths, look_in)
Пример #3
0
 def test_insert_path_begin(self):
     look_in = [p2, p3, p4]
     search.insert_path(p1, look_in, comp)
     self.assertEqual(paths, look_in)