Exemple #1
0
 def test_provided_2(self):
     self.assertEqual(4, solution([1, 2, 5, 3, 4, 7, 8, 6]))
Exemple #2
0
 def test_provided_1b(self):
     self.assertEqual(7, solution([1, 2, 5, 3, 7, 8, 6, 4]))
Exemple #3
0
 def test_provided_0b(self):
     self.assertEqual(-1, solution([2, 5, 1, 3, 4]))
Exemple #4
0
 def test_provided_1a(self):
     self.assertEqual(-1, solution([5, 1, 2, 3, 7, 8, 6, 4]))
Exemple #5
0
 def test_provided_0a(self):
     self.assertEqual(3, solution([2, 1, 5, 3, 4]))