Skip to content

Commit

Permalink
fix SV test due to change in model arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
helske committed Apr 13, 2021
1 parent b385f0b commit ef17968
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/testthat/test_models.R
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ test_that("bad argument values for svm throws an error",{
})

test_that("proper arguments for svm don't throw an error",{
expect_error(svm(1:10, uniform(0.9,-0.9, 0.99), halfnormal(1,2), halfnormal(1,2)), NA)
expect_error(svm(1:10, rho = uniform(0.9,-0.9, 0.99),
mu = normal(0, 0,2), sd_ar = halfnormal(1, 2)), NA)
})

test_that("multivariate non-gaussian model", {
Expand Down

0 comments on commit ef17968

Please sign in to comment.