mirror of
https://github.com/msberends/AMR.git
synced 2024-12-26 06:06:12 +01:00
small units test
This commit is contained in:
parent
6c542268be
commit
7f155c4e3a
@ -27,9 +27,6 @@ stages:
|
||||
# debian stretch only contains R 3.3...
|
||||
image: debian:buster-slim
|
||||
|
||||
variables:
|
||||
WARNINGS_ARE_ERRORS: 1
|
||||
|
||||
before_script:
|
||||
- apt-get update -qq
|
||||
# install dependencies for packages
|
||||
|
@ -61,4 +61,6 @@ 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]))
|
||||
old <- make_trans_tbl()
|
||||
expect_gt(length(old), 0)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user