Skip to content

Commit

Permalink
use expect_equal for rank deficient ST test
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Sabanes Bove committed Jan 23, 2024
1 parent 7ccfb1a commit 3db0eff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-satterthwaite.R
Original file line number Diff line number Diff line change
Expand Up @@ -163,5 +163,5 @@ test_that("h_df_md_sat works as expected for rank deficient model", {
result <- expect_silent(h_df_md_sat(object, contrast))
object2 <- get_mmrm()
expected <- expect_silent(h_df_md_sat(object2, contrast))
expect_identical(result, expected)
expect_equal(result, expected, tolerance = 1e-4)
})

0 comments on commit 3db0eff

Please sign in to comment.