library(BSS)
test_that("power correlation is one at zero lag", {
expect_equal(powerKernelCorrelation(-0.1, -1, 0), 1)
})
test_that("gamma correlation is one at zero lag", {
expect_equal(gammaKernelCorrelation(-0.1, 1, 0), 1)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.