Unit test macros for newLISP
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
test-example.lsp
tests.lsp

README.md

tests.lsp

Unit test macros for newLISP. Meant to be small.

(run-tests "My module"
    (feature "My feature"
        (assert (= (+ 2 2) 4))
        (assert (= (* 2 3) 6))
    )
)

See test-example.lsp for a longer example and its output!