commit
b482fdf9a6
|
@ -11,13 +11,13 @@ public class PalindromeUnitTest {
|
||||||
@Test
|
@Test
|
||||||
public void whenEmptyString_thanAccept() {
|
public void whenEmptyString_thanAccept() {
|
||||||
Palindrome palindromeTester = new Palindrome();
|
Palindrome palindromeTester = new Palindrome();
|
||||||
assertTrue(palindromeTester.isPalindrome("noon"));
|
assertTrue(palindromeTester.isPalindrome(""));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void whenPalindrom_thanAccept() {
|
public void whenPalindrom_thanAccept() {
|
||||||
Palindrome palindromeTester = new Palindrome();
|
Palindrome palindromeTester = new Palindrome();
|
||||||
assertTrue(palindromeTester.isPalindrome("noon"));
|
assertTrue(palindromeTester.isPalindrome("noon"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in New Issue