1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-08 11:51:59 +02:00

unit test and news file

This commit is contained in:
2022-12-21 09:12:53 +01:00
parent 4c42a43f7d
commit e493248ea5
4 changed files with 15 additions and 19 deletions

View File

@ -67,8 +67,8 @@ expect_equal(
# first non-ICU isolates
expect_identical(
as.integer(sum(
expect_true(
sum(
first_isolate(example_isolates,
col_mo = "mo",
col_date = "date",
@ -76,10 +76,7 @@ expect_identical(
col_icu = example_isolates$ward == "ICU",
info = TRUE,
icu_exclude = TRUE
),
na.rm = TRUE
)),
942L
), na.rm = TRUE) < 950
)
# set 1500 random observations to be of specimen type 'Urine'