This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2019-05-13 10:10:16 +02:00
1 parent 0444c4ed9d
commit 38a4421450
36 files changed
+475 -213

No files matched your search

+3
View File
@@ -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"))