Ejemplo n.º 1
0
 def test_additional_valid(self):
     self.assertEqual(main_with_args(7, [
         [4, 1, 2], [2, 3, 4], [6, 5, 6], [1, -1, -1], [3, -1, -1], [4, -1, -1], [7, -1, -1]
     ]), "CORRECT")
Ejemplo n.º 2
0
 def test_eigth_sample(self):
     self.assertEqual(main_with_args(7, [
         [4, 1, 2], [2, 3, 4], [6, 5, 6], [1, -1, -1], [3, -1, -1], [5, -1, -1], [7, -1, -1]
     ]), "CORRECT")
Ejemplo n.º 3
0
 def test_first_sample(self):
     self.assertEqual(main_with_args(3, [
         [2, 1, 2], [1, -1, -1], [3, -1, -1]
     ]), "CORRECT")
Ejemplo n.º 4
0
 def test_seventh_sample_three(self):
     self.assertEqual(main_with_args(5, [
         [1, 1, 2], [1, -1, -1], [3, 3, 4], [2, -1, 4], [3, -1, -1]
     ]), "INCORRECT")
Ejemplo n.º 5
0
 def test_seventh_sample_one(self):
     self.assertEqual(main_with_args(5, [
         [1, -1, 1], [2, -1, 2], [3, -1, 3], [4, -1, 4], [4, -1, -1]
     ]), "CORRECT")
Ejemplo n.º 6
0
 def test_sixth_sample(self):
     self.assertEqual(main_with_args(1, [
         [2147483647, -1, -1]
     ]), "CORRECT")
Ejemplo n.º 7
0
 def test_fifth_sample(self):
     self.assertEqual(main_with_args(0), "CORRECT")
Ejemplo n.º 8
0
 def test_fourth_sample(self):
     self.assertEqual(main_with_args(3, [
         [2, 1, 2], [2, -1, -1], [3, -1, -1]
     ]), "INCORRECT")