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

unit test

This commit is contained in:
2024-03-09 16:46:59 +01:00
parent bc4f8515e2
commit 4170def0ec
4 changed files with 5 additions and 7 deletions

View File

@ -66,8 +66,7 @@ expect_equal(
c("101477-8", "101478-6", "18864-9", "18865-6", "20374-5", "21066-6", "23618-2", "27-3", "28-1", "29-9", "30-7", "31-5", "32-3", "33-1", "3355-5", "33562-0", "33919-2", "34-9", "43883-8", "43884-6", "6979-9", "6980-7", "87604-5")
)
expect_true(ab_url("AMX") %like% "whocc.no")
# expect_warning(ab_url("ASP"))
expect_true(ab_url("AMX") %like% "fhi[.]no")
expect_identical(
colnames(set_ab_names(example_isolates[, 17:22])),

View File

@ -60,5 +60,4 @@ expect_equal(
c("29113-8", "30273-7", "30287-7", "30303-2", "78772-1", "78773-9", "79134-3", "80118-3")
)
expect_true(av_url("ACI") %like% "whocc.no")
# expect_warning(av_url("ASP"))
expect_true(av_url("ACI") %like% "fhi[.]no")