|(require test-engine/racket-tests)||package: htdp-lib|
This module provides test forms for use in Racket programs, as well as parameters to configure the behavior of test reports.
Each check form may only occur at the top-level; results are collected and reported by the test function. Note that the check forms only register checks to be performed. The checks are actually run by the test function.
(check-expect expr expected-expr)
It is an error for expr or expected-expr to produce a function value or an inexact number.
It is an error for expr or expected to produce a function value.
(check-member-of expr expected-expr ...)
It is an error for expr or any of the expected-exprs to produce a function value or an inexact number.
(test-format format) → void? format : (any/c . -> . string?)
|(require test-engine/racket-gui)||package: htdp-lib|
This module requires produces an independent window when displaying test results. It provides the same bindings as test-engine/racket-tests.