Skip to content

Commit

Permalink
fix typo in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-buerkner committed Jun 24, 2024
1 parent 34ac048 commit 25aa0b6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/testthat/tests.priorsense.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ fit1 <- rename_pars(brms:::brmsfit_example1)

test_that("create_priorsense_data returns expected output structure", {
psd1 <- create_priorsense_data(fit1)
expect_s3_class(psd$draws, "draws")
expect_s3_class(psd$fit, "brmsfit")
expect_s3_class(psd$log_lik, "draws")
expect_s3_class(psd$log_prior, "draws")
expect_true(is.function(psd$log_lik_fn))
expect_true(is.function(psd$log_prior_fn))
expect_true(is.function(psd$log_ratio_fn))
expect_s3_class(psd1$draws, "draws")
expect_s3_class(psd1$fit, "brmsfit")
expect_s3_class(psd1$log_lik, "draws")
expect_s3_class(psd1$log_prior, "draws")
expect_true(is.function(psd1$log_lik_fn))
expect_true(is.function(psd1$log_prior_fn))
expect_true(is.function(psd1$log_ratio_fn))
})

test_that("powerscale returns without error", {
Expand Down

0 comments on commit 25aa0b6

Please sign in to comment.