mirror of
https://github.com/msberends/AMR.git
synced 2025-07-12 21:01:56 +02:00
unit tests
This commit is contained in:
@ -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