1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-09 13:01:59 +02:00

unit tests

This commit is contained in:
2023-01-06 13:45:20 +01:00
parent 86e28bafce
commit cf16bc7de1
3 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@ expect_equal(names(mo_info("Escherichia coli")), c(
))
expect_inherits(mo_info(c("Escherichia coli", "Staphylococcus aureus")), "list")
expect_equal(as.character(table(mo_pathogenicity(example_isolates$mo)))
expect_equal(as.character(table(mo_pathogenicity(example_isolates$mo))),
c("1561", "422", "1", "16"))
expect_equal(mo_ref("Escherichia coli"), "Castellani et al., 1919")