Test a function: Difference between revisions
Content added Content deleted
Line 1,008: | Line 1,008: | ||
Racket has a built-in unit testing library. Tests can be specified next to function implementations or in a testing submodule. |
Racket has a built-in unit testing library. Tests can be specified next to function implementations or in a testing submodule. |
||
<lang |
<lang racket> |
||
#lang racket |
#lang racket |
||
(module+ test (require rackunit)) |
(module+ test (require rackunit)) |