Skip to content
This repository has been archived by the owner on Jul 25, 2018. It is now read-only.

Latest commit

 

History

History
39 lines (28 loc) · 1.3 KB

README.md

File metadata and controls

39 lines (28 loc) · 1.3 KB

Fantasy Monoids

General

Name empty concat
Additive 0 +
Conjunction true &&
Disjunction false ||
Dual(M) empty concat
Endo function identity function composition
Multiplicative 1 *
Unit {} {}
Min(Ord) Ord.min Ord.compare
Max(Ord) Ord.max Ord.compare

Testing

Library

Fantasy Options uses nodeunit for all the tests and because of this there is currently an existing adapter in the library to help with integration between nodeunit and Fantasy Check.

Coverage

Currently Fantasy Check is using Istanbul for code coverage analysis; you can run the coverage via the following command:

This assumes that you have istanbul installed correctly.

istanbul cover nodeunit -- test/*.js