tests/testthat/test-entropy.R

test_that("multiplication works", {
  expect_equal(entropy(c(0.5, 0.5)), 2)
})
samthorold/riskparity documentation built on March 20, 2022, 4:03 p.m.