

Task

Using a well-known testing-specific library/module/suite for your language, write some tests for your language's entry in Palindrome.

If your language does not have a testing specific library well known to the language's community then state this or omit the language.



 
-module( palindrome_tests ).
-compile( export_all ).
-include_lib( "eunit/include/eunit.hrl" ).
 
abcba_test() -> ?assert( palindrome:is_palindrome("abcba") ).
 
abcdef_test() -> ?assertNot( palindrome:is_palindrome("abcdef") ).
 