mirror of
https://github.com/msberends/AMR.git
synced 2025-07-08 08:32:04 +02:00
cfta streptococci, codecov.yml
This commit is contained in:
@ -53,4 +53,32 @@ test_that("mdro works", {
|
||||
# still working on German guidelines
|
||||
expect_error(suppressWarnings(mrgn(septic_patients, info = TRUE)))
|
||||
|
||||
# test Dutch P. aeruginosa MDRO
|
||||
expect_equal(suppressWarnings(
|
||||
as.character(mdro(data.frame(mo = as.mo("P. aeruginosa"),
|
||||
cfta = "S",
|
||||
cipr = "S",
|
||||
mero = "S",
|
||||
imip = "S",
|
||||
gent = "S",
|
||||
tobr = "S",
|
||||
pita = "S"),
|
||||
country = "nl",
|
||||
col_mo = "mo",
|
||||
info = FALSE))
|
||||
), "Negative")
|
||||
expect_equal(suppressWarnings(
|
||||
as.character(mdro(data.frame(mo = as.mo("P. aeruginosa"),
|
||||
cefta = "R",
|
||||
cipr = "R",
|
||||
mero = "R",
|
||||
imip = "R",
|
||||
gent = "R",
|
||||
tobr = "R",
|
||||
pita = "R"),
|
||||
country = "nl",
|
||||
col_mo = "mo",
|
||||
info = FALSE))
|
||||
), "Positive")
|
||||
|
||||
})
|
||||
|
Reference in New Issue
Block a user