Consensys / corset

4 stars 12 forks source link

Add Tests for the Standard Library #65

Open DavePearce opened 5 months ago

DavePearce commented 5 months ago

Currently, there are essentially no tests for the standard library. It probably makes sense to have some to try and minimise the risk of breakages arising from changing the stdlib. There are a number of example files in the tests/ directory:

alias.lisp
arrays.lisp
computed.lisp
constants.lisp
decomposition.lisp
exp.lisp
for.lisp
...

One of these is currently included within existing test suite (src/tests.rs). So, seems like including more would make sense at a minimum since they exercise the standard library.