mirror of
https://github.com/msberends/AMR.git
synced 2026-10-01 04:13:33 +02:00
(v0.6.1.9048) data creation fox
This commit is contained in:
1 parent
0a6580b4eb
commit
4bac768557
8 files changed
+7
-10
No files matched your search
@@ -38,9 +38,6 @@ test_that("data sets are valid", {
|
||||
})
|
||||
|
||||
test_that("creation of data sets is valid", {
|
||||
df <- make()
|
||||
expect_lt(nrow(df[which(df$prevalence == 1), ]), nrow(df[which(df$prevalence == 2), ]))
|
||||
expect_lt(nrow(df[which(df$prevalence == 2), ]), nrow(df[which(df$prevalence == 3), ]))
|
||||
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