jpeddicord/askalono

Unit testing

Closed this issue · 2 comments

This issue will probably need to be split out into smaller pieces.

Right now: 0 unit tests.
Where I want to be: near-full test coverage.

This doesn't cover overall tests for identifying licenses; that's in #4.

Stuck a test stub here: https://github.com/amzn/askalono/blob/54299c7db3ca1dc443ff890015c7e87891a09c24/src/ngram.rs#L110

Added to familiarize myself, but this is still free for hacking on.

I'm comfortable with the state of tests in askalono right now. There's always room for improvement, but I think this is resolvable.