mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 06:30:48 +01:00
unit tests
This commit is contained in:
1 parent
bd2a256969
commit
6c542268be
16 files changed
+534
-296
No files matched your search
@@ -56,3 +56,9 @@ test_that("data sets are valid", {
|
||||
|
||||
})
|
||||
|
||||
|
||||
test_that("creation of data sets is valid", {
|
||||
DT <- make_DT()
|
||||
expect_lt(nrow(DT[prevalence == 1]), nrow(DT[prevalence == 2]))
|
||||
expect_lt(nrow(DT[prevalence == 2]), nrow(DT[prevalence == 3]))
|
||||
})
|
||||
Reference in new issue
Block a user