mirror of https://github.com/msberends/AMR.git
8 lines
236 B
R
8 lines
236 B
R
|
context("data.R")
|
||
|
|
||
|
test_that("data sets are valid", {
|
||
|
# IDs should always be unique
|
||
|
expect_identical(nrow(antibiotics), length(unique(antibiotics$atc)))
|
||
|
expect_identical(nrow(microorganisms), length(unique(microorganisms$mo)))
|
||
|
})
|