mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 05:50:48 +01:00
ab_* functions, mo_* functions, 180 new microorganisms, speed improvement for bactid
This commit is contained in:
1 parent
2acdb1981c
commit
972fc4f6c7
24 files changed
+571
-306
No files matched your search
@@ -0,0 +1,14 @@
|
||||
context("mo_property.R")
|
||||
|
||||
test_that("mo_property works", {
|
||||
expect_equal(mo_family("E. coli"), "Enterobacteriaceae")
|
||||
expect_equal(mo_genus("E. coli"), "Escherichia")
|
||||
expect_equal(mo_species("E. coli"), "coli")
|
||||
expect_equal(mo_subspecies("E. coli"), NA_character_)
|
||||
expect_equal(mo_fullname("E. coli"), "Escherichia coli")
|
||||
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")
|
||||
})
|
||||
Reference in new issue
Block a user