Skip to content

Commit 11ee209

Browse files
author
alessandro_gsantos
committed
Added number test
1 parent 56966e8 commit 11ee209

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/test/kotlin/other/PalindromeTest.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,10 @@ class PalindromeTest {
2222
val text = "Hannah"
2323
assertTrue(isPalindrome(text))
2424
}
25+
26+
@Test
27+
fun testPalindromeNumber() {
28+
val text = "2002"
29+
assertTrue(isPalindrome(text))
30+
}
2531
}

0 commit comments

Comments
 (0)