Exemple #1
0
 def test_equals(self):
     self.assertEqual(pipe_fix([1, 2, 3, 5, 6, 8, 9]),
                      [1, 2, 3, 4, 5, 6, 7, 8, 9])
Exemple #2
0
 def test_equals_5(self):
     self.assertEqual(pipe_fix([1, 2, 3]), [1, 2, 3])
Exemple #3
0
 def test_equals_3(self):
     self.assertEqual(pipe_fix([6, 9]), [6, 7, 8, 9])
Exemple #4
0
 def test_equals_4(self):
     self.assertEqual(pipe_fix([-1, 4]), [-1, 0, 1, 2, 3, 4])
Exemple #5
0
 def test_equals_2(self):
     self.assertEqual(pipe_fix([1, 2, 3, 12]),
                      [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12])