1
0
mirror of https://github.com/msberends/AMR.git synced 2024-12-25 18:46:11 +01:00

small units test

This commit is contained in:
dr. M.S. (Matthijs) Berends 2019-02-22 00:19:37 +01:00
parent 6c542268be
commit 7f155c4e3a
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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)
})