This is the assert-p Reference Manual, version 1.0.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Sep 15 03:21:04 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
assert-p
A library of assertions written in Common Lisp.
noloop <noloop@zoho.com>
noloop <noloop@zoho.com>
(GIT git@github.com:noloop/assert-p.git)
GPLv3
1.0.0
assertion-error
(system).
src
(module).
Modules are listed depth-first from the system components tree.
assert-p/src
assert-p
(system).
package.lisp
(file).
macros.lisp
(file).
assert-p.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
assert-p/src/macros.lisp
package.lisp
(file).
src
(module).
assertion-error-check
(macro).
assertion-values
(macro).
condition-error-check
(macro).
error-check
(macro).
once-only
(macro).
with-gensyms
(macro).
assert-p/src/assert-p.lisp
macros.lisp
(file).
src
(module).
condition-error-p
(macro).
custom-p
(function).
eq-p
(function).
eql-p
(function).
equal-p
(function).
equalp-p
(function).
error-p
(function).
nil-p
(function).
not-condition-error-p
(macro).
not-eq-p
(function).
not-eql-p
(function).
not-equal-p
(function).
not-equalp-p
(function).
not-error-p
(function).
not-nil-p
(function).
not-null-p
(function).
not-t-p
(function).
not-typep-p
(function).
not-values-p
(function).
not-zero-p
(function).
null-p
(function).
t-p
(function).
typep-p
(function).
values-p
(function).
zero-p
(function).
assertion
(function).
error-message
(function).
Packages are listed by definition order.
noloop.assert-p
assert-p
common-lisp
.
condition-error-p
(macro).
custom-p
(function).
eq-p
(function).
eql-p
(function).
equal-p
(function).
equalp-p
(function).
error-p
(function).
nil-p
(function).
not-condition-error-p
(macro).
not-eq-p
(function).
not-eql-p
(function).
not-equal-p
(function).
not-equalp-p
(function).
not-error-p
(function).
not-nil-p
(function).
not-null-p
(function).
not-t-p
(function).
not-typep-p
(function).
not-values-p
(function).
not-zero-p
(function).
null-p
(function).
t-p
(function).
typep-p
(function).
values-p
(function).
zero-p
(function).
assertion
(function).
assertion-error-check
(macro).
assertion-values
(macro).
condition-error-check
(macro).
error-check
(macro).
error-message
(function).
once-only
(macro).
with-gensyms
(macro).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Check if fn throw an specified condition error.
Check if fn not throw an specified condition error.
Custom check for special cases. Where test-result is a form that returns t or nil, actual is value actual used in test-result, expected is value expected used in test-result, operator is operator used in test-result. Return t when test-result is t, and throw assertion-error when test-result is nil.
Check actual eq expected
Check actual eql expected
Check actual equal expected
Check actual equalp expected
Check if fn throw an error.
Check actual eq nil
Check actual not eq expected
Check actual not eql expected
Check actual not equal expected
Check actual not equalp expected
Check if fn not throw an error.
Check actual not eq nil
Check not null actual. Equivalent to (not (null actual))
Check actual not eq t
Check actual not typep expected
Check actual every not predicate expected. Predicate is a symbol of function, actual is a list, and expected an atom. Example: (values-p ’= ’(t t t) t) It’s similar to (every #’(lambda (i) (not (= t i))) ’(t t t))
Check actual not eq 0
Check null actual. Equivalent to (null actual)
Check actual eq t
Check actual typep expected
Check actual every predicate expected. Predicate is a symbol of function, actual is a list, and expected an atom. Example: (values-p ’= ’(t t t) t) It’s similar to (every #’(lambda (i) (= t i)) ’(t t t))
Check actual eq 0
When result is t return t. When result is nil throw assertion-error. One assertion need result (t or nil), one object actual, one object expected, and one operator (string or symbol). Assertion-error also loading one message of error (built with actual, expected and operator) and the stack trace of error throw moment.
Jump to: | A C E F M N O T V W Z |
---|
Jump to: | A C E F M N O T V W Z |
---|
Jump to: | A F M N P S |
---|
Jump to: | A F M N P S |
---|