Exemple #1
0
 def test_equals_2(self):
     self.assertEqual(consecutive([1, 2, 3, 4]), 0)
Exemple #2
0
 def test_equals_5(self):
     self.assertEqual(consecutive([-10]), 0)
Exemple #3
0
 def test_equals(self):
     self.assertEqual(consecutive([4, 8, 6]), 2)
Exemple #4
0
 def test_equals_4(self):
     self.assertEqual(consecutive([1]), 0)