示例#1
0
    def test_getNumberAsString_115_20(self):
        x = 115
        expectedValue = 20

        actualValue = len(Problem017.getNumberAsString(x))
        self.assertEqual(expectedValue, actualValue)
示例#2
0
    def test_getNumberAsString_342_23(self):
        x = 342
        expectedValue = 23

        actualValue = len(Problem017.getNumberAsString(x))
        self.assertEqual(expectedValue, actualValue)