(v1.5.0.9039) handle first isolates for missing antibiograms

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2021-03-08 02:38:32 +01:00
1 parent 461793dc34
commit a7c9b4c295
21 files changed
+79 -62

No files matched your search

+4
View File
@@ -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)))