tests/testthat/test_viterbi.R

context("viterbi")

test_that("Output has the right format",{
    m <- example$m
    expect_equal(length(viterbi(m)),nrow(m$data))
})
TheoMichelot/moveHMM documentation built on June 5, 2018, 12:15 p.m.