mirror of
https://github.com/msberends/AMR.git
synced 2025-07-08 11:51:59 +02:00
(v1.6.0.9011) unit tests
This commit is contained in:
@ -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"))
|
||||
|
Reference in New Issue
Block a user