tests/testthat/test-benchmarks.R

test_that("fcp benchmark",{
    b <- benchmark_fcp()
    expect_true(all(b$lre > 5))
})

test_that("fcp laurent",{
    b <- benchmark_laurent()
    expect_true(all(b$lre$coefficient > 4))
})

Try the tsgarch package in your browser

Any scripts or data that you put into this service are public.

tsgarch documentation built on Oct. 12, 2024, 1:07 a.m.