tests/testthat/test_logd.R

context("logd")

test_that("logd produces a the matrix log", {
  expect_equal(logd(diag(rep(1, 4))), diag(rep(0, 4)))
})
BenBarnard/hldr documentation built on May 28, 2019, 11:57 a.m.