Changeset 38692 in project


Ignore:
Timestamp:
05/16/20 17:45:55 (3 weeks ago)
Author:
juergen
Message:

simple-tests 2.3 docu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/5/simple-tests

    r38690 r38692  
    116116
    117117=== New interface
     118
     119==== check
     120
     121<macro>(check ((var val) ...) xpr ypr . xpr-yprs)</macro>
     122
     123compares xpr and ypr .... with == in the environment
     124defined by (var val)
    118125
    119126==== define-checks
     
    167174or, ALTERNATIVELY
    168175
     176(check ((lst '(0 1 2 3)))
     177  lst
     178  '(0 1 2 3)
     179  (car lst)
     180  0
     181  (cadr lst)
     182  1
     183  (cddr lst)
     184  '(2 3)
     185  )
     186
    169187(define-checks (+? verbose?)
    170188  (+ 1 2) 3
     
    185203== Last update
    186204
    187 Mai 12, 2020
     205Mai 16, 2020
    188206
    189207== Author
     
    224242== Version History
    225243
     244; 2.3 : check added
    226245; 2.2 : ppp** added
    227246; 2.1 : do-checks as an alias to define-checks added
Note: See TracChangeset for help on using the changeset viewer.