testeez

See http://www.neilvandyke.org/testeez/ for the full documentation.

  1. testeez
    1. Programming interface
      1. testeez
      2. test/equal
      3. test/eq
      4. test/eqv
      5. test-define
      6. test-eval
    2. Author
    3. Licence

Programming interface

testeez

[syntax] (testeez docstring . test-expressions)

where each test-expression is a list consisting of one of the following testing operators, a docstring and one or two other forms.

test/equal

[syntax] (test/equal desc xpr expected)

Tests xpr and compares it with equal? to expected.

A shorthand for (test-equal "" xpr expected) is also available, simply write (xpr expected)

test/eq

[syntax] (test/eq desc xpr expected)

Tests xpr and compares it with eq? to expected.

test/eqv

[syntax] (test/eqv desc xpr expected)

Tests xpr and compares it with eqv? to expected.

test-define

[syntax] (test-define desc name val)

Binds name to val. The binding is visible only to the remainder of a testeez expression.

test-eval

[syntax] (test-eval desc xpr)

Author

Neil van Dyke

Licence

LGPL-3