Пример #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')