mirror of
https://github.com/msberends/AMR.git
synced 2025-09-04 20:09:38 +02:00
CI tests
This commit is contained in:
@@ -36,6 +36,9 @@ test_that("as.ab works", {
|
||||
|
||||
expect_identical(class(as.ab("amox")), "ab")
|
||||
expect_identical(class(pull(antibiotics, ab)), "ab")
|
||||
expect_true(is.ab(as.ab("amox")))
|
||||
expect_output(print(as.ab("amox")))
|
||||
expect_output(print(data.frame(a = as.ab("amox"))))
|
||||
|
||||
expect_warning(as.ab("Z00ZZ00")) # not yet available in data set
|
||||
expect_warning(as.ab("UNKNOWN"))
|
||||
|
Reference in New Issue
Block a user