コード例 #1
0
 def test_equals(self):
     self.assertEqual(
         reverseWords(
             'The greatest victory is that which requires no battle'),
         'battle no requires which that is victory greatest The')
コード例 #2
0
 def test_equals(self):
     self.assertEqual(reverseWords(
         'The greatest victory is that which requires no battle'),
         'battle no requires which that is victory greatest The')
コード例 #3
0
 def test_equals_2(self):
     self.assertEqual(reverseWords('hello world!'), 'world! hello')
コード例 #4
0
 def test_equals_2(self):
     self.assertEqual(reverseWords('hello world!'), 'world! hello')