1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-12 17:01:57 +02:00

unit tests

This commit is contained in:
2023-02-14 15:59:40 +01:00
parent a4cd38c433
commit 8d37c75860
8 changed files with 13 additions and 36 deletions

View File

@ -47,10 +47,7 @@ expect_equal(
# warning for speed loss
# expect_warning(count_resistant(as.character(example_isolates$AMC)))
# expect_warning(count_resistant(
example_isolates$AMC,
as.character(example_isolates$GEN)
))
# expect_warning(count_resistant(example_isolates$AMC, as.character(example_isolates$GEN)))
# check for errors
expect_error(count_resistant("test", minimum = "test"))