tests/testthat/test-Grid_Search.R

test_that("Testing GridSearch works with StocksBonds", {
  set.seed(6723217)
  gs1 <- random_grid_search_BEKK(data.matrix(StocksBonds))

  # Starting values should be equal for same seed

  expect_equal(trunc(sum(gs1[[1]])), 0 )
})
alexanderlange53/BEKKs documentation built on Nov. 27, 2024, 7:37 p.m.