1
0
mirror of https://github.com/msberends/AMR.git synced 2024-12-25 19:26:13 +01:00

mo_property

This commit is contained in:
dr. M.S. (Matthijs) Berends 2019-02-20 00:34:38 +01:00
parent d4f5d282ff
commit 616c8ab1ae

View File

@ -37,8 +37,8 @@ test_that("mo_property works", {
expect_equal(names(mo_taxonomy("E. coli")), c("kingdom", "phylum", "class", "order",
"family", "genus", "species", "subspecies"))
expect_equal(mo_ref("E. coli"), "Castellani and Chalmers, 1919")
expect_equal(mo_authors("E. coli"), "Castellani and Chalmers")
expect_equal(mo_ref("E. coli"), "Castellani et al., 1919")
expect_equal(mo_authors("E. coli"), "Castellani et al.")
expect_equal(mo_year("E. coli"), 1919)
expect_equal(mo_shortname("MRSA"), "S. aureus")