Beispiel #1
0
 def test_equal_11(self):
     self.assertEqual(high_and_low('42'), '42 42')
Beispiel #2
0
 def test_equal_9(self):
     self.assertEqual(high_and_low('1 1 0'), '1 0')
Beispiel #3
0
 def test_equal_10(self):
     self.assertEqual(high_and_low('-1 -1 0'), '0 -1')
Beispiel #4
0
 def test_equal_7(self):
     self.assertEqual(high_and_low('-1 -1'), '-1 -1')
Beispiel #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'
     )
Beispiel #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')
Beispiel #15
0
 def test_equal_1(self):
     self.assertEqual(high_and_low('1 2 3 4 5'), '5 1')
Beispiel #16
0
 def test_equal_3(self):
     self.assertEqual(high_and_low('1 9 3 4 -5'), '9 -5')
Beispiel #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')