Commit 8e26230f authored by Chris Jewell's avatar Chris Jewell
Browse files

Updated test files to match previous commit.

parent 96f6d653
......@@ -86,9 +86,11 @@ test_that("HaldDP model construction", {
model$update(n_iter=100)
expect_equal_to_reference(model$summary(), "haldDPres2.rds")
expect_equal_to_reference(model$extract('lambda_j'), "haldDPlambdaj.rds")
#expect_equal_to_reference(model$extract(flatten=TRUE), 'haldDPFlat.rds')
#model$fit_params(n_iter = 100,
# burn_in = 10,
# thin = 5)
#expect_equal_to_reference(model$summary(), "haldDPres3.rds")
expect_equal_to_reference(model$extract(flatten=TRUE), 'haldDPFlat.rds')
model$fit_params(n_iter = 100,
burn_in = 10,
thin = 5)
expect_error(model$summary())
model$update()
expect_equal_to_reference(model$summary(), "haldDPres3.rds")
})
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment