Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Aug 12, 2023
1 parent 252a40d commit f1c81b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/testthat/test-means_by_group.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ test_that("meany_by_group", {
expect_snapshot(means_by_group(efc, "c12hour", "e42dep"))
expect_snapshot(means_by_group(efc, "c12hour", "e42dep", ci = 0.99))
expect_snapshot(means_by_group(efc, "c12hour", "e42dep", ci = NA))
expect_snapshot(means_by_group(efc, c("neg_c_7", "c12hour"), "e42dep"))
expect_snapshot(means_by_group(efc, c("neg_c_7", "c12hour"), "e42dep", ci = NA))
expect_snapshot(means_by_group(efc, c("neg_c_7", "c12hour"), "e42dep", ci = 0.99))
expect_snapshot(means_by_group(efc$c12hour, efc$e42dep))
expect_snapshot(means_by_group(efc$c12hour, efc$e42dep, ci = NA))
})

0 comments on commit f1c81b2

Please sign in to comment.