mirror of
https://github.com/msberends/AMR.git
synced 2025-12-14 01:10:28 +01:00
(v0.7.1.9063) septic_patients -> example_isolates
This commit is contained in:
@@ -22,8 +22,8 @@
|
||||
context("key_antibiotics.R")
|
||||
|
||||
test_that("keyantibiotics work", {
|
||||
expect_equal(length(key_antibiotics(septic_patients, warnings = FALSE)), nrow(septic_patients))
|
||||
expect_false(all(is.na(key_antibiotics(septic_patients))))
|
||||
expect_equal(length(key_antibiotics(example_isolates, warnings = FALSE)), nrow(example_isolates))
|
||||
expect_false(all(is.na(key_antibiotics(example_isolates))))
|
||||
expect_true(key_antibiotics_equal("SSS", "SSS"))
|
||||
expect_false(key_antibiotics_equal("SSS", "SRS"))
|
||||
expect_true(key_antibiotics_equal("SSS", "SIS", ignore_I = TRUE))
|
||||
|
||||
Reference in New Issue
Block a user