Jump to content

Test a function: Difference between revisions

Line 1,008:
Racket has a built-in unit testing library. Tests can be specified next to function implementations or in a testing submodule.
 
<lang lispracket>
#lang racket
(module+ test (require rackunit))
Cookies help us deliver our services. By using our services, you agree to our use of cookies.