Test a function: Difference between revisions
m
→{{header|Phix}}
Line 1,477:
test_true(is_palindrome("abba"),"is_palindrome(abba)")
test_true(is_palindrome("abba"))
-- (...and failure somewhat laconic)
test_false(is_palindrome("abc"),"not is_palindrome(abc)")
test_true(is_palindrome("failure"),"is_palindrome(failure)")
|