Skip to content

Commit

Permalink
fix boost_spline tests
Browse files Browse the repository at this point in the history
  • Loading branch information
schalkdaniel committed Jul 29, 2018
1 parent 65675bb commit cae39c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test_boost_spline.R
Expand Up @@ -7,13 +7,13 @@ test_that("boostSpline function works", {

expect_length(mod$getBaselearnerNames(), 6)
expect_length(mod$selected(), 100)
expect_length(mod$risk(), 101)
expect_length(mod$getInbagRisk(), 101)
expect_length(mod$predict(), nrow(iris))

expect_output(mod$train(150))

expect_length(mod$selected(), 150)
expect_length(mod$risk(), 151)
expect_length(mod$getInbagRisk(), 151)
expect_length(mod$predict(), nrow(iris))
expect_equal(mod$predict(), mod$predict(iris))
})

0 comments on commit cae39c5

Please sign in to comment.