Question d’entretien chez Author-it Software

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