-
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7779233
commit 3b0ff6f
Showing
2 changed files
with
65 additions
and
10 deletions.
There are no files selected for viewing
59 changes: 59 additions & 0 deletions
59
tests/testthat/_snaps/plot.effectsize_table/aov-eta-squared-dot-plot.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,9 @@ | ||
test_that("`plot.see_effectsize_table()` works", { | ||
library(effectsize) | ||
m <- aov(mpg ~ factor(am) * factor(cyl), data = mtcars) | ||
result <- eta_squared(m) | ||
expect_s3_class(plot(result), "gg") | ||
}) | ||
|
||
test_that("`plot.see_equivalence_test()` works", { | ||
library(effectsize) | ||
m <- aov(mpg ~ factor(am) * factor(cyl), data = mtcars) | ||
result <- eta_squared(m) | ||
expect_s3_class(plot(result), "gg") | ||
result <- effectsize::eta_squared(m) | ||
set.seed(123) | ||
vdiffr::expect_doppelganger( | ||
title = "aov - eta_squared - dot plot", | ||
fig = plot(result) | ||
) | ||
}) |