Expanded the predicate and assertion interface.
commit894142c36d25d0e906df98e246f9290970173f69
authorThomas M. Hermann <tmh.public@gmail.com>
Thu, 4 Jun 2009 19:03:07 +0000 (4 14:03 -0500)
committerThomas M. Hermann <tmh.public@gmail.com>
Thu, 4 Jun 2009 19:03:07 +0000 (4 14:03 -0500)
tree68b3650cc8e1c40ffdf90f4491b13dd8bfc67995
parent65a71939e2c95ebd5d55f7d28a0ce3be4e50c7c4
Expanded the predicate and assertion interface.

Expanded the testing interface with RATIONAL-EQUAL, FLOAT-EQUAL and
NORM-EQUAL. These are implemented as generic functions that operate on
atoms, sequences and arrays. In the case of sequences and arrays,
RATIONAL-EQUAL and FLOAT-EQUAL perform and element-wise comparison for
equality. NORM-EQUAL performs the test for equality on the relative
error norm of the sequence or array.
defpackage.lisp
floating-point.lisp
lisp-unit.asd
rational.lisp [new file with mode: 0644]