mirror of
https://github.com/msberends/AMR.git
synced 2025-07-09 04:42:22 +02:00
Support for German and Spanish microorganism properties, cleanup
This commit is contained in:
@ -9,6 +9,12 @@ test_that("mo_property works", {
|
||||
expect_equal(mo_type("E. coli"), "Bacteria")
|
||||
expect_equal(mo_gramstain("E. coli"), "Negative rods")
|
||||
expect_equal(mo_aerobic("E. coli"), TRUE)
|
||||
expect_equal(mo_type_nl("E. coli"), "Bacterie")
|
||||
expect_equal(mo_gramstain_nl("E. coli"), "Negatieve staven")
|
||||
|
||||
expect_equal(mo_type("E. coli", language = "de"), "Bakterien")
|
||||
expect_equal(mo_gramstain("E. coli", language = "de"), "Negative Staebchen")
|
||||
|
||||
expect_equal(mo_type("E. coli", language = "nl"), "Bacterie")
|
||||
expect_equal(mo_gramstain("E. coli", language = "nl"), "Negatieve staven")
|
||||
|
||||
expect_error(mo_type("E. coli", language = "INVALID"))
|
||||
})
|
||||
|
Reference in New Issue
Block a user