diff --git a/09_palindromes/palindromes.spec.js b/09_palindromes/palindromes.spec.js index 2f239d3..2bd764a 100644 --- a/09_palindromes/palindromes.spec.js +++ b/09_palindromes/palindromes.spec.js @@ -19,4 +19,16 @@ describe('palindromes', () => { test.skip('doesn\'t just always return true', () => { expect(palindromes('ZZZZ car, a man, a maraca.')).toBe(false); }); + test.skip('works with numbers that are palindromes', () => { + expect(palindromes('1005001')).toBe(true); + }); + test.skip('works with numbers that are not palindromes', () => { + expect(palindromes('12345')).toBe(false); + }); + test.skip('works with datetime stamp using short digits', () => { + expect(palindromes('11/11/11 11:11')).toBe(true); + }); + test.skip('works with date stamp using long digits', () => { + expect(palindromes('02/02/2020.')).toBe(true); + }); });