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