added mo_shortname

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2018-09-05 10:51:46 +02:00
1 parent 790bd1622d
commit e39a9a8b05
8 files changed
+88 -12

No files matched your search

+2
View File
@@ -14,6 +14,8 @@ test_that("as.mo works", {
expect_equal(as.character(as.mo("K. pneu rhino")), "KLEPNERH") # K. pneumoniae subspp. rhinoscleromatis
expect_equal(as.character(as.mo("Bartonella")), "BAR")
expect_equal(as.character(as.mo("S. pyo")), "STCPYO") # not Actinomyces pyogenes
expect_equal(as.character(as.mo("P. aer")), "PSEAER") # not Pasteurella aerogenes
expect_equal(as.character(as.mo("Negative rods")), "GNR")