tests/testthat/test-FP_HMM.R

test_that("the lengths of the two vectors given by the fp_hmm function are the expected lengths", {
  expect_equal(length(fp_hmm(system.file("extdata", "1DLHA2-7", package="protHMM"))[[1]]), 20)
  expect_equal(length(fp_hmm(system.file("extdata", "1DLHA2-7", package="protHMM"))[[2]]), 400)
})

Try the protHMM package in your browser

Any scripts or data that you put into this service are public.

protHMM documentation built on July 9, 2023, 6:10 p.m.