Common Lisp Package: LISP-MATRIX-UNITTESTS

Unit, validation, and regression testing for lisp-matrix

README:

FUNCTION

Public

RUN-LISP-MATRIX-TESTS

Check everything...!

Private

GEN-INTEGER (&KEY (MAX (1+ MOST-POSITIVE-FIXNUM)) (MIN (1- MOST-NEGATIVE-FIXNUM)))

Returns a generator which produces random integers greater than or equal to MIN and less than or equal to MIN.

RANDOM-ARRAY (N M)

Return a random 2D array of size N x M. Useful as input into a make-matrix initial contents, reproducible if we set seed initially.

Undocumented

CHECK-M* (A B)

MACRO

Private

FOR-IMPLEMENTATIONS ((&REST IMPLEMENTATIONS) &BODY BODY)

Execute BODY for each implementation in IMPLEMENTATIONS.

TEST-MATRIX-SIZE (MATRIX N M)

test all size functions of MATRIX against N and M

WITH-UNIQUE-NAMES ((&REST BINDINGS) &BODY BODY)

Evaluate BODY with BINDINGS bound to fresh unique symbols. Syntax: WITH-UNIQUE-NAMES ( [ var | (var x) ]* ) declaration* form* Executes a series of forms with each VAR bound to a fresh, uninterned symbol. The uninterned symbol is as if returned by a call to GENSYM with the string denoted by X - or, if X is not supplied, the string denoted by VAR - as argument. The variable bindings created are lexical unless special declarations are specified. The scopes of the name bindings and declarations do not include the Xs. The forms are evaluated in order, and the values of all but the last are discarded (that is, the body is an implicit PROGN).

Undocumented

DEF-M*-TEST (NAME A B)

FOR-ALL-IMPLEMENTATIONS (&BODY BODY)

SILLY-TEST (B2 B5)

SILLY-TEST2 (B2 B5)

CLASS

Private

Undocumented

LISP-MATRIX-UT

LISP-MATRIX-UT-DATATRANS

LISP-MATRIX-UT-MATRIX

LISP-MATRIX-UT-MATRIX-GEMM

LISP-MATRIX-UT-MATRIX-LAPACK

LISP-MATRIX-UT-MATRIX-VIEWS

LISP-MATRIX-UT-VECTORS

LISP-MATRIX-UT-VECTORS-GEMM