123456789 |
- Describe(number_is_palindrome)
- {
- It(test1){Assert::That(isPalindrome(838), Equals(true));}
- It(test2){Assert::That(isPalindrome(77), Equals(true));}
- It(test3){Assert::That(isPalindrome(95159), Equals(true));}
- It(test4){Assert::That(isPalindrome(839), Equals(false));}
- It(test5){Assert::That(isPalindrome(4234), Equals(false));}
- It(test6){Assert::That(isPalindrome(13), Equals(false));}
- };
|