mirror of
https://github.com/msberends/AMR.git
synced 2025-07-08 10:31:53 +02:00
(v1.5.0.9039) handle first isolates for missing antibiograms
This commit is contained in:
@ -196,6 +196,10 @@ test_that("first isolates work", {
|
||||
expect_equal(sum(first_isolate(test_unknown)),
|
||||
1045)
|
||||
|
||||
# empty rsi results
|
||||
expect_equal(sum(first_isolate(example_isolates, include_untested_rsi = FALSE)),
|
||||
1287)
|
||||
|
||||
# shortcuts
|
||||
expect_identical(filter_first_isolate(example_isolates),
|
||||
subset(example_isolates, first_isolate(example_isolates)))
|
||||
|
Reference in New Issue
Block a user