1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-08 18:41:58 +02:00

new rsi_interpretation_history

This commit is contained in:
2022-09-01 15:20:57 +02:00
parent a3b97a10a5
commit 63fe160322
12 changed files with 191 additions and 171 deletions

View File

@ -123,6 +123,10 @@ expect_equal(
c("S", "S", "I", "R", "R")
)
expect_true(is.data.frame(rsi_interpretation_history(clean = FALSE)))
expect_true(is.data.frame(rsi_interpretation_history(clean = TRUE)))
expect_true(is.null(rsi_interpretation_history()))
# cutoffs at MIC = 8
expect_equal(
as.rsi(as.mic(2), "E. coli", "ampicillin", guideline = "EUCAST 2020"),