Welcome to the CHICKEN Scheme pasting service

test-print function added by misilver on Sat Jun 18 22:54:49 2016

(define (test-print name expected expression)
  (test name expected (with-output-to-string (lambda () expression))))

(test-print "fake example" "hi\n" (print "hi"))
hi
fake example ......................................................... [ FAIL]
    expected "hi\n" but got ""
    (with-output-to-string (lambda () expression))
FAIL

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Which version of Scheme does C4 implement?
Visually impaired? Let me spell it for you (wav file) download WAV