예제 #1
0
 @Test
 public void word() {
   assertTrue(Palindrome.isPalindrome("mom"));
 }
예제 #2
0
 @Test
 public void shouldReturnTrue() {
   assertTrue(Palindrome.isNrPalindrome(101));
 }
예제 #3
0
 @Test
 public void upperAndLowerCase() {
   assertTrue(Palindrome.isPalindrome("Noel sees Leon"));
 }
예제 #4
0
 @Test
 public void notOnlyWordChars() {
   assertTrue(Palindrome.isPalindrome("Noel sees Leon."));
 }
예제 #5
0
 @Test
 public void sentence() {
   assertTrue(Palindrome.isPalindrome("noel sees leon"));
 }