Skip to content

Commit

Permalink
for PR review before .svg files for test
Browse files Browse the repository at this point in the history
  • Loading branch information
audreyyeoCH committed Jan 3, 2025
1 parent 01b8185 commit c475a98
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions tests/testthat/test-plotBetaDiff.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# plotBetaDiff
test_that("plotBetaDiff works as expected", {
result <- plotBetaDiff(
parY = c(1, 1),
parX = c(6, 10),
Go_cut = 0.3,
Stop_cut = 0.1, # below a difference of 10%, is an unsuccesful trial
shade = TRUE,
note = TRUE
)
result <- plotBetaDiff(
parY = c(2, 3),
parX = c(4, 10),
Go_cut = 0.3,
Stop_cut = 0.1, # below a difference of 10%, is an unsuccesful trial
shade = TRUE,
note = TRUE
)
vdiffr::expect_doppelganger("", result)
vdiffr::expect_doppelganger("", result)

})

0 comments on commit c475a98

Please sign in to comment.