Exemple #1
0
 def test_one_array_one_int_var2(self):
     self.assertEqual(3, find_largest([3, 2], 1))
Exemple #2
0
 def test_one_array_one_int(self):
     self.assertEqual(3, find_largest([1, 2], 3))
Exemple #3
0
 def test_one_array_one_int_var1(self):
     self.assertEqual(3, find_largest([1, 3], 2))
Exemple #4
0
 def test_one_int_one_array_var2(self):
     self.assertEqual(3, find_largest(2, [1, 3]))
Exemple #5
0
 def test_one_int_one_array_var1(self):
     self.assertEqual(3, find_largest(1, [3, 2]))
Exemple #6
0
 def test_one_int_one_array(self):
     self.assertEqual(3, find_largest(3, [1, 2]))
Exemple #7
0
 def test_one_array(self):
     self.assertEqual(2, find_largest([1, 2]))
Exemple #8
0
 def test_one_item(self):
     self.assertEqual(1, find_largest(1))