Пример #1
0
 def runTest(self):
    result = test_recursion(lambda: string_reverse("abcdef"))
    self.assertEqual(result, True)
Пример #2
0
 def runTest(self):
    result = string_reverse("ProgrammingIsFun")
    self.assertEqual(result, "nuFsIgnimmargorP")
Пример #3
0
 def runTest(self):
    result = string_reverse("F34oZ")
    self.assertEqual(result, "Zo43F")
Пример #4
0
 def runTest(self):
    result = string_reverse("Rekursion")
    self.assertEqual(result, "noisrukeR")
Пример #5
0
 def runTest(self):
    result = string_reverse("abcdef")
    self.assertEqual(result, "fedcba")