(v1.6.0.9011) unit tests

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2021-04-27 10:27:13 +02:00
1 parent 93683a4ae2
commit c5fff1c95c
99 files changed
+2457 -2323

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ test_that("key_antimcrobials work", {
skip_on_cran()
expect_equal(length(key_antimicrobials(example_isolates, antifungal = NULL)), nrow(example_isolates))
expect_false(all(is.na(key_antimicrobials(example_isolates, antifungal = NULL))))
expect_true(antimicrobials_equal("SSS", "SSS"))
expect_true(antimicrobials_equal("SSS", "SSS", type = "points"))
expect_false(antimicrobials_equal("SSS", "SRS", type = "keyantimicrobials"))
expect_true(antimicrobials_equal("SSS", "SRS", type = "points"))
expect_true(antimicrobials_equal("SSS", "SIS", ignore_I = TRUE, type = "keyantimicrobials"))