Closed floybix closed 7 years ago
Fixes #24
I'm not finished but this is useful enough for now, and it will be an ongoing part of normal development to spec other stuff as needed. I've spec'd
cells.cljc
This will be good for documentation too, once I can generate docs with the specs included.
I particularly like encoders-test where this line
encoders-test
(stest/check `p/encode)
generates random encoders with random parameter values, and feeds them random input values.
Similarly, one of the tests in spec-checks generates layers with random parameter values and feeds them random sets of bits.
spec-checks
Breaking changes, will need corresponding updates to Sanity.
Fixes #24
I'm not finished but this is useful enough for now, and it will be an ongoing part of normal development to spec other stuff as needed. I've spec'd
cells.cljc
.This will be good for documentation too, once I can generate docs with the specs included.
I particularly like
encoders-test
where this linegenerates random encoders with random parameter values, and feeds them random input values.
Similarly, one of the tests in
spec-checks
generates layers with random parameter values and feeds them random sets of bits.Breaking changes, will need corresponding updates to Sanity.