mirror of
https://github.com/msberends/AMR.git
synced 2024-12-26 04:46:11 +01:00
equal != identical
This commit is contained in:
parent
d0bc05e5b1
commit
e548a7ad11
@ -25,11 +25,11 @@ test_that("rsi works", {
|
||||
|
||||
library(dplyr)
|
||||
# 40 rsi columns
|
||||
expect_identical(septic_patients %>%
|
||||
mutate_at(vars(peni:rifa), as.character) %>%
|
||||
lapply(is.rsi.eligible) %>%
|
||||
as.logical() %>%
|
||||
sum(),
|
||||
40)
|
||||
expect_equal(septic_patients %>%
|
||||
mutate_at(vars(peni:rifa), as.character) %>%
|
||||
lapply(is.rsi.eligible) %>%
|
||||
as.logical() %>%
|
||||
sum(),
|
||||
40)
|
||||
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user