Skip to content

Commit a649e20

Browse files
committed
Also test with boundary_correction=FALSE
1 parent 4e4b46c commit a649e20

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/testthat/test-ppc-loo.R

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ test_that("ppc_loo_pit_overlay works with boundary_correction=TRUE", {
3838
expect_gg(p1)
3939
})
4040

41+
test_that("ppc_loo_pit_overlay works with boundary_correction=FALSE", {
42+
p1 <- ppc_loo_pit_overlay(y, yrep, lw, boundary_correction = FALSE)
43+
expect_gg(p1)
44+
})
45+
4146
test_that("ppc_loo_pit_qq returns ggplot object", {
4247
expect_gg(p1 <- ppc_loo_pit_qq(y, yrep, lw))
4348
expect_equal(p1$labels$x, "Uniform")

0 commit comments

Comments
 (0)