(defntest f & test-pairs)
Defines a series of tests for function f Each test-pair consists of args expected where args is a vector of arguments to f and expected is the expected return value of (apply f args)
Defines a series of tests for function f Each test-pair consists of args expected where args is a vector of arguments to f and expected is the expected return value of (apply f args)
(defntest-1 f & test-pairs)
Defines a series of tests for 1-arity function f Each test-pair consists of arg expected where arg is a single argument to f and expected is the expected return value of (apply f [arg])
Defines a series of tests for 1-arity function f Each test-pair consists of arg expected where arg is a single argument to f and expected is the expected return value of (apply f [arg])
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close