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

unit tests

This commit is contained in:
2018-09-17 21:51:21 +02:00
parent 5d80cef338
commit df5d82fff3
4 changed files with 9 additions and 0 deletions

View File

@ -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")