Skip to content

Commit

Permalink
- fixed changes in plot test file due to re-naming
Browse files Browse the repository at this point in the history
  • Loading branch information
wojcieko committed Oct 12, 2023
1 parent 3088a10 commit c375ffe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/testthat/test-plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ test_that("Test plot_modelFits with different model_fits input", {
plot6 <- plot_modelFits(fit)
expect_is(plot6, "ggplot")

# Test with CrI = TRUE and more models
plot7 <- plot_modelFits(fit, CrI = TRUE)
# Test with cr_intv = TRUE and more models
plot7 <- plot_modelFits(fit, cr_intv = TRUE)
expect_is(plot7, "ggplot")

# Test with gAIC = FALSE and more models
Expand All @@ -166,6 +166,6 @@ test_that("Test plot_modelFits with different model_fits input", {
expect_is(plot9, "ggplot")

# Test with all non-default parameters and more models
plot10 <- plot_modelFits(fit, CrI = TRUE, gAIC = FALSE, avg_fit = FALSE)
plot10 <- plot_modelFits(fit, cr_intv = TRUE, gAIC = FALSE, avg_fit = FALSE)
expect_is(plot10, "ggplot")
})

0 comments on commit c375ffe

Please sign in to comment.