source: project/wiki/eggref/4/testeez @ 29520

Last change on this file since 29520 was 29520, checked in by juergen, 7 years ago

short testeez documentation

  • Property svnwiki:tags set to test
  • Property svnwiki:title set to testeez
File size: 988 bytes
Line 
1== testeez
2
3See http://www.neilvandyke.org/testeez/ for the full documentation.
4
5=== Programming interface
6
7==== testeez
8
9<macro>(testeez docstring . test-expressions)</macro>
10
11where each test-expression is a list consisting of one of the following
12testing operators, a docstring and one or two other forms.
13
14==== test/equal
15
16<macro>(test/equal desc xpr expected)</macro>
17
18Tests xpr and compares it with equal? to expected.
19
20A shorthand for (test-equal "" xpr expected) is also available, simply
21write (xpr expected)
22
23==== test/eq
24
25<macro>(test/eq desc xpr expected)</macro>
26
27Tests xpr and compares it with eq? to expected.
28
29==== test/eqv
30
31<macro>(test/eqv desc xpr expected)</macro>
32
33Tests xpr and compares it with eqv? to expected.
34
35==== test-define
36
37<macro>(test-define desc name val)</macro>
38
39Binds name to val.  The binding is visible only to the remainder of a
40testeez expression.
41
42==== test-eval
43
44<macro>(test-eval desc xpr)</macro>
45
46=== Author
47
48Neil van Dyke
49
50=== Licence
51
52LGPL-3
Note: See TracBrowser for help on using the repository browser.