コード例 #1
0
 def test_hackerrank_sample5(self):
     """Description
     """
     result = bigger_is_greater('dkhc')
     self.assertEquals(result, 'hcdk')
コード例 #2
0
 def test_hackerrank_sample2(self):
     """Description
     """
     result = bigger_is_greater('zz')
     self.assertEquals(result, 'no answer')
コード例 #3
0
 def test_hackerrank_sample3(self):
     """Description
     """
     result = bigger_is_greater('hefg')
     self.assertEquals(result, 'hegf')
コード例 #4
0
 def test_hackerrank_sample1(self):
     """Description
     """
     result = bigger_is_greater('ab')
     self.assertEquals(result, 'ba')