(v2.1.1.9152) MIC plot fix

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2025-02-18 08:07:02 +01:00
1 parent ef02f4a7f2
commit 671d657fd8
11 files changed
+50 -23

No files matched your search

+5 -2
View File
@@ -27,12 +27,15 @@
# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
# ==================================================================== #
# used in multiple functions, also in plotting
expect_true(all(as.mic(COMMON_MIC_VALUES) %in% VALID_MIC_LEVELS))
expect_true(all(paste0("<=", as.mic(COMMON_MIC_VALUES)) %in% VALID_MIC_LEVELS))
expect_true(all(paste0(">=", as.mic(COMMON_MIC_VALUES)) %in% VALID_MIC_LEVELS))
expect_true(as.mic(8) == as.mic("8"))
expect_true(as.mic("1") > as.mic("<=0.0625"))
expect_true(as.mic("1") < as.mic(">=32"))
expect_true(is.mic(as.mic(8)))
# expect_true(as.mic(1024) < as.mic(">1024"))
# expect_true(as.mic("<1024") > as.mic("1024"))
expect_equal(as.double(as.mic(">=32")), 32)