예제 #1
0
 def test_equals_2(self):
     self.assertEqual(revrot('123456987653', 6), '234561356789')
예제 #2
0
 def test_equals_8(self):
     self.assertEqual(revrot('123456779', 0), '')
예제 #3
0
 def test_equals(self):
     self.assertEqual(revrot('123456987654', 6), '234561876549')
예제 #4
0
 def test_equals_7(self):
     self.assertEqual(revrot('', 8), '')
예제 #5
0
 def test_equals_6(self):
     self.assertEqual(revrot('123456779', 8), '23456771')
예제 #6
0
 def test_equals_5(self):
     self.assertEqual(revrot('664438769', 8), '67834466')
예제 #7
0
 def test_equals_4(self):
     self.assertEqual(revrot('66443875', 8), '64438756')
예제 #8
0
 def test_equals_3(self):
     self.assertEqual(revrot('66443875', 4), '44668753')