tests/testthat/test_log.R

library(HMMCPP)
context("Make log for matrix works")
test_that("make log works",{
  A <- matrix(1:4, nrow = 2)
  expect_equal(make_log(A), log(A, base = 2))
})
jonotuke/HMMCPP documentation built on May 19, 2019, 8:34 p.m.