8.10
3.7.1 Test Suite Utils
(require cpsc411/test-suite/utils) | package: cpsc411-lib |
An encode capable of transforming a Racket value into a valid value in the
current CPSC411 language.
A reader, capable of decoding a CPSC411 value either from an interpreter or from
compilation into a Racket value.
Typically, you should use execute and current-run/read
instead.
A masker, masking an expected test Racket value to match the return value
interface of the CPSC411 compiler.
Probably either the default or set to exit-code-mask for a1.
Mask a Racket value to the range of an exit code.
Tests that the validator f returns x without raising an error.
Tests that the validator f raises an exception when called on
x.