Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
lbau7 committed Aug 9, 2023
1 parent 1ba7b80 commit 2fbc146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-findn.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test_that("findn finds approximately the correct sample size", {
n_true2 <- ceiling(power.t.test(delta = 5, sd = 10, type = "one.sample",
power = 0.9)$n)

expect_equal(length(res_bll1$all_evals) * 24, 2000)
expect_equal(length(res_bll1$all_evals) * 25, 2000)
expect_equal(res_bll1$sample_size, n_true1, tol = 2)
expect_equal(res_bll2$sample_size, n_true2, tol = 2)
})
Expand Down

0 comments on commit 2fbc146

Please sign in to comment.