Add a bunch of tests, some of which are golden tests that use the goldie crate.
Also uses cargo mutants to determine code coverage and its mutants crate to skip functions that cannot currently be tested and a few that are trivial enough to not be worth the effort.
In addition, a bunch of refactoring has been performed in order to make more code testable.
Add a bunch of tests, some of which are golden tests that use the
goldie
crate.Also uses
cargo mutants
to determine code coverage and itsmutants
crate to skip functions that cannot currently be tested and a few that are trivial enough to not be worth the effort.In addition, a bunch of refactoring has been performed in order to make more code testable.