1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-11 16:22:06 +02:00

(v2.1.1.9052) unit test fix

This commit is contained in:
2024-06-16 20:53:50 +02:00
parent 4ffac7e22d
commit 68f7795481
7 changed files with 106 additions and 61 deletions

View File

@ -28,7 +28,7 @@
# ==================================================================== #
expect_identical(as.mo("Enterobacter asburiae/cloacae"),
as.mo("Enterobacter cloacae cloacae"))
as.mo("Enterobacter asburiae"))
suppressMessages(
add_custom_microorganisms(
@ -44,3 +44,5 @@ expect_identical(mo_gramstain("ENT_ASB_CLO", language = NULL), "Gram-negative")
expect_identical(paste("B", AMR:::abbreviate_mo("Klebsiella"), AMR:::abbreviate_mo("pneumoniae", 4), sep = "_"),
as.character(as.mo("Klebsiella pneumoniae")))
expect_identical(paste("B", AMR:::abbreviate_mo("Aerococcus"), AMR:::abbreviate_mo("urinae", 4), sep = "_"),
as.character(as.mo("Aerococcus urinae")))