Merge pull request #9026 from atanasg/patch-1

Fix palindrome unit test
This commit is contained in:
Loredana Crusoveanu 2020-05-24 15:03:02 +03:00 committed by GitHub
commit b482fdf9a6
1 changed files with 4 additions and 4 deletions

View File

@ -11,13 +11,13 @@ public class PalindromeUnitTest {
@Test
public void whenEmptyString_thanAccept() {
Palindrome palindromeTester = new Palindrome();
assertTrue(palindromeTester.isPalindrome("noon"));
assertTrue(palindromeTester.isPalindrome(""));
}
@Test
public void whenPalindrom_thanAccept() {
Palindrome palindromeTester = new Palindrome();
assertTrue(palindromeTester.isPalindrome("noon"));
public void whenPalindrom_thanAccept() {
Palindrome palindromeTester = new Palindrome();
assertTrue(palindromeTester.isPalindrome("noon"));
}
@Test