NathanSkene / EWCE

Expression Weighted Celltype Enrichment. See the package website for up-to-date instructions on usage.
https://nathanskene.github.io/EWCE/index.html
53 stars 25 forks source link

Setup unittesting with testthat #26

Closed NathanSkene closed 3 years ago

Al-Murphy commented 3 years ago

Just assuming this is the initial set up to enable unit testing and not the addition of further tests? If so this was completed with the mean CTD test

NathanSkene commented 3 years ago

I was thinking addition of extra tests, idea is that codecov should report at least 80% covered by tests

Additional tests could be:

Because EWCE uses random permutations, the 'same result' should not depend on exact pvalues.

NathanSkene commented 3 years ago

Another test: