Skip to content

Commit

Permalink
Update test to match Py
Browse files Browse the repository at this point in the history
  • Loading branch information
bletham committed Sep 4, 2020
1 parent 3a436ec commit 77da5b8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions R/tests/testthat/test_prophet.R
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,6 @@ test_that("logistic_floor", {
future1$floor <- future1$floor + 10.
m2 <- fit.prophet(m2, history2, algorithm = 'Newton')
expect_equal(m2$history$y_scaled[1], 1., tolerance = 1e-6)
fcst2 <- predict(m, future1)
fcst2$yhat <- fcst2$yhat - 10.
# Check for approximate shift invariance
expect_true(all(abs(fcst1$yhat - fcst2$yhat) < 1))
})

test_that("get_changepoints", {
Expand Down

0 comments on commit 77da5b8

Please sign in to comment.