whalesong/tests/more-tests/checking-cs019.rkt
2011-10-03 16:00:16 -04:00

9 lines
228 B
Racket

#lang planet dyoo/whalesong/cs019
(define (greet name)
(string-append "hello " name))
(check-expect (greet "danny") "hello danny")
(check-expect (greet "huh") "this should fail")
(check-expect (greet "world") "hello world")