1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-12 22:21:52 +02:00

(v2.1.1.9256) unit tests

This commit is contained in:
2025-04-26 21:29:50 +02:00
parent d166aa2c1d
commit f340e257fa
10 changed files with 17 additions and 142 deletions

View File

@ -325,12 +325,14 @@ test_that("test-sir.R", {
expect_message(as.sir(data.frame(
mo = "E. coli",
NIT = c("<= 2", 32),
uti = TRUE
uti = TRUE,
info = TRUE
)))
expect_message(as.sir(data.frame(
mo = "E. coli",
NIT = c("<= 2", 32),
specimen = c("urine", "blood")
specimen = c("urine", "blood"),
info = TRUE
)))
# SDD vs I in CLSI 2024