mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 07:50:50 +01:00
CI tests
This commit is contained in:
1 parent
0444c4ed9d
commit
38a4421450
36 files changed
+475
-213
No files matched your search
@@ -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