Add unittests

This commit is contained in:
2021-03-23 14:46:08 +01:00
parent b37a337e06
commit 7897f2130b
3 changed files with 50 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class Transform(object):
return self.input_integer
else:
print('Integer {} is not a palindrome'.format(self.input_integer))
print('Calculating the palindrome for input {}'.format(self.input_integer))
print('Calculating the palindrome for input {}'.format(self.input_integer)) # noqa
palindrome = self.__calculate_palindrome()
return palindrome