Package: lisp-unit
Macro assert-eq
Lambda Listassert-eq (expected form &rest extras) ArgumentsReturn ValueReturn value is unspecified. Details Assertion with the predicate eq. All of the assertion forms are macros. They tally a failure if the associated predication returns false. Assertions can be made about return values, printed output, macro expansions, and even expected errors. Assertion form arguments are evaluated in the local lexical environment. All assertion forms allow to include additional expressions extras at the end of the form. These expressions and their values will be printed only when the test fails. | See also |