
This is a start on using `test.check` to write tests for the vector instructions. We currently have tests for: * `vector/_emptyvector` * `vector/_indexof` * `vector/_subvec` There are _lots_ of other functions still to be tested. This did reveal errors in `vector/_subvec`, which will be addressed in the next commit. We used macros to make it easy to generate tests for each of the four vector types; this should be extensible to additional vector types in the future if needed.
11 lines
483 B
Clojure
11 lines
483 B
Clojure
(defproject propeller "0.1.0-SNAPSHOT"
|
|
:description "FIXME: write description"
|
|
:url "http://example.com/FIXME"
|
|
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
|
|
:url "https://www.eclipse.org/legal/epl-2.0/"}
|
|
:dependencies [[org.clojure/clojure "1.10.0"]
|
|
[org.clojure/clojurescript "1.9.946"]
|
|
[org.clojure/test.check "1.1.0"]]
|
|
:main ^:skip-aot propeller.core
|
|
:repl-options {:init-ns propeller.core})
|