Repository navigation
Improve code coverage by unit tests - #225
Conversation
Otherwise R-CMD-check fails
Data is totally deterministic with no element of randomness. Created firstly for visual testing. Separate functions make code of unit tests cleaner.
`vdiffr` is an extension of `testhat` for plotting functions.
Tool vdiffr::manage_cases(package = "./hyperSpec") was used. P.S. visual unit test are skipped on CRAN. See: http://vdiffr.r-lib.org/#testing-versus-monitoring
- More precise test messages were added; - `FIXME` was added to indicate the necessity of more specific tests.
|
@cbeleites, either fixed, partially addressed of just commented on your remarks. Please review them again. On:
In general, I think that there should not be only shallow ( This was my fault that I didn't give correct messages for those shallow tests. Now some tests are fixed and in other places appropriate |
Due to fixed typo
For plural ("3 points"), no changes are present.
Singular, "1 point" is used instead of instead "1 points".
Replace flu with sp
Improves code coverage (addresses #207) and documentation (partially addresses #151).