Pergunta de entrevista da empresa Author-it Software

Write code to figure out if a string is a palindrome. Write test cases.