RosettaCodeData/Task/Test-a-function/Scheme/test-a-function.ss

7 lines
287 B
Scheme
Raw Permalink Normal View History

2017-09-23 10:01:46 +02:00
(import (srfi 64))
(test-begin "palindrome-tests")
(test-assert (palindrome? "ingirumimusnocteetconsumimurigni"))
(test-assert (not (palindrome? "This is not a palindrome")))
(test-equal #t (palindrome? "ingirumimusnocteetconsumimurigni")) ; another of several test functions
(test-end)