Exemple #1
0
 def test_equal_11(self):
     self.assertEqual(high_and_low('42'), '42 42')
Exemple #2
0
 def test_equal_9(self):
     self.assertEqual(high_and_low('1 1 0'), '1 0')
Exemple #3
0
 def test_equal_10(self):
     self.assertEqual(high_and_low('-1 -1 0'), '0 -1')
Exemple #4
0
 def test_equal_7(self):
     self.assertEqual(high_and_low('-1 -1'), '-1 -1')
Exemple #5
0
 def test_equal_8(self):
     self.assertEqual(high_and_low('1 -1 0'), '1 -1')
 def test_equal_4(self):
     self.assertEqual(
         high_and_low('4 5 29 54 4 0 -214 542 -64 1 -3 6 -6'), '542 -214'
     )
Exemple #7
0
 def test_equal_4(self):
     self.assertEqual(high_and_low('4 5 29 54 4 0 -214 542 -64 1 -3 6 -6'),
                      '542 -214')
 def test_equal_1(self):
     self.assertEqual(high_and_low('1 2 3 4 5'), '5 1')
 def test_equal_2(self):
     self.assertEqual(high_and_low('1 2 -3 4 5'), '5 -3')
 def test_equal_10(self):
     self.assertEqual(high_and_low('-1 -1 0'), '0 -1')
 def test_equal_11(self):
     self.assertEqual(high_and_low('42'), '42 42')
 def test_equal_9(self):
     self.assertEqual(high_and_low('1 1 0'), '1 0')
 def test_equal_8(self):
     self.assertEqual(high_and_low('1 -1 0'), '1 -1')
 def test_equal_7(self):
     self.assertEqual(high_and_low('-1 -1'), '-1 -1')
Exemple #15
0
 def test_equal_1(self):
     self.assertEqual(high_and_low('1 2 3 4 5'), '5 1')
Exemple #16
0
 def test_equal_3(self):
     self.assertEqual(high_and_low('1 9 3 4 -5'), '9 -5')
Exemple #17
0
 def test_equal_2(self):
     self.assertEqual(high_and_low('1 2 -3 4 5'), '5 -3')
 def test_equal_3(self):
     self.assertEqual(high_and_low('1 9 3 4 -5'), '9 -5')