mirror of
https://github.com/msberends/AMR.git
synced 2025-07-09 04:02:19 +02:00
unit tests
This commit is contained in:
@ -12,6 +12,7 @@ test_that("mo_property works", {
|
||||
expect_equal(mo_type("E. coli", language = "en"), "Bacteria")
|
||||
expect_equal(mo_gramstain("E. coli", language = "en"), "Negative rods")
|
||||
expect_equal(mo_aerobic("E. coli"), TRUE)
|
||||
expect_equal(class(mo_taxonomy("E. coli")), "list")
|
||||
|
||||
expect_equal(mo_shortname("MRSA"), "S. aureus")
|
||||
expect_equal(mo_shortname("MRSA", Becker = TRUE), "S. aureus")
|
||||
|
Reference in New Issue
Block a user