Ejemplo n.º 1
0
 def test_test_5(self):
     self.assertTrue(
         solution([
             12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,
             12, 12
         ]))
Ejemplo n.º 2
0
 def test_test_1(self):
     self.assertTrue(solution([1, 1, 1]))
Ejemplo n.º 3
0
 def test_test_3(self):
     self.assertFalse(solution([4, 1, 3, 2]))
Ejemplo n.º 4
0
 def test_provided_4(self):
     self.assertTrue(solution([1, 2, 3, 4, 5, 5, 7, 7, 8, 10, 12, 19, 25]))
Ejemplo n.º 5
0
 def test_extra_2(self):
     self.assertFalse(solution([6, 6, 3]))
Ejemplo n.º 6
0
 def test_test_11(self):
     self.assertTrue(
         solution(
             [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17]))
Ejemplo n.º 7
0
 def test_provided_3(self):
     self.assertTrue(solution([17, 59, 34, 57, 17, 23, 67, 1, 18, 2, 59]))
Ejemplo n.º 8
0
 def test_test_2(self):
     self.assertFalse(solution([3, 3, 3, 3]))
Ejemplo n.º 9
0
 def test_test_3(self):
     self.assertFalse(solution([4, 1, 3, 2]))
Ejemplo n.º 10
0
 def test_extra_3(self):
     self.assertTrue(solution([3, 1, 1, 2, 2]))
Ejemplo n.º 11
0
 def test_test_1(self):
     self.assertTrue(solution([1, 1, 1]))
Ejemplo n.º 12
0
 def test_extra_2(self):
     self.assertFalse(solution([6, 6, 3]))
Ejemplo n.º 13
0
 def test_extra(self):
     self.assertTrue(solution([1, 2, 1, 2]))
Ejemplo n.º 14
0
 def test_provided_4(self):
     self.assertTrue(solution([1, 2, 3, 4, 5, 5, 7, 7, 8, 10, 12, 19, 25]))
Ejemplo n.º 15
0
 def test_test_7(self):
     self.assertTrue(
         solution([
             19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
             19, 19
         ]))
Ejemplo n.º 16
0
 def test_test_4(self):
     self.assertFalse(solution([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]))
Ejemplo n.º 17
0
 def test_test_9(self):
     self.assertTrue(
         solution([1, 2, 2, 2, 1, 3, 3, 3, 2, 2, 3, 2, 1, 2, 3, 3, 2, 2]))
Ejemplo n.º 18
0
 def test_test_5(self):
     self.assertTrue(solution([12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12]))
Ejemplo n.º 19
0
 def test_confounding_choice(self):
     self.assertFalse(solution([3, 2, 2, 2, 3]))
Ejemplo n.º 20
0
 def test_test_6(self):
     self.assertTrue(solution([20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20]))
Ejemplo n.º 21
0
 def test_provided_3(self):
     self.assertTrue(solution([17, 59, 34, 57, 17, 23, 67, 1, 18, 2, 59]))
Ejemplo n.º 22
0
 def test_test_7(self):
     self.assertTrue(solution([19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19]))
Ejemplo n.º 23
0
 def test_extra(self):
     self.assertTrue(solution([1, 2, 1, 2]))
Ejemplo n.º 24
0
 def test_test_8(self):
     self.assertFalse(solution([1, 1, 1, 2, 1, 2, 1, 2, 2, 1, 2, 2, 2, 1, 1, 1, 1, 1]))
Ejemplo n.º 25
0
 def test_extra_3(self):
     self.assertTrue(solution([3, 1, 1, 2, 2]))
Ejemplo n.º 26
0
 def test_test_9(self):
     self.assertTrue(solution([1, 2, 2, 2, 1, 3, 3, 3, 2, 2, 3, 2, 1, 2, 3, 3, 2, 2]))
Ejemplo n.º 27
0
 def test_test_2(self):
     self.assertFalse(solution([3, 3, 3, 3]))
Ejemplo n.º 28
0
 def test_test_10(self):
     self.assertFalse(solution([6, 7, 8, 5, 11, 3, 1, 19, 16, 19, 5, 7, 13, 10, 16, 4, 15, 16]))
Ejemplo n.º 29
0
 def test_test_4(self):
     self.assertFalse(solution([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]))
Ejemplo n.º 30
0
 def test_test_11(self):
     self.assertTrue(solution([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17]))
Ejemplo n.º 31
0
 def test_test_6(self):
     self.assertTrue(
         solution([
             20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20,
             20, 20
         ]))
Ejemplo n.º 32
0
 def test_shuai(self):
     self.assertFalse(solution([7, 2, 2, 2, 2, 2, 2, 2, 3]))
Ejemplo n.º 33
0
 def test_test_8(self):
     self.assertFalse(
         solution([1, 1, 1, 2, 1, 2, 1, 2, 2, 1, 2, 2, 2, 1, 1, 1, 1, 1]))
Ejemplo n.º 34
0
 def test_confounding_choice(self):
     self.assertFalse(solution([3, 2, 2, 2, 3]))
Ejemplo n.º 35
0
 def test_test_10(self):
     self.assertFalse(
         solution([
             6, 7, 8, 5, 11, 3, 1, 19, 16, 19, 5, 7, 13, 10, 16, 4, 15, 16
         ]))
Ejemplo n.º 36
0
 def test_duplicates(self):
     self.assertTrue(solution([2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]))
Ejemplo n.º 37
0
 def test_shuai(self):
     self.assertFalse(solution([7, 2, 2, 2, 2, 2, 2, 2, 3]))
Ejemplo n.º 38
0
 def test_provided_2(self):
     self.assertFalse(solution([40]))
Ejemplo n.º 39
0
 def test_duplicates(self):
     self.assertTrue(solution([2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]))
Ejemplo n.º 40
0
 def test_provided_2(self):
     self.assertFalse(solution([40]))