tests/testthat/test_APkNCTri.R

context("Just testing APkNCTri functionality")

test_that("Check whether length of APkNCTri vector is correct",{
  apknuctri<-APkNUCTri_DNA(seqs = "ACGGGCTA",selectedIdx = c(1,2,3),lambda = 3,l = 4)
  lenApknuctri<-length(apknuctri)
  expectedLen<-256+(3*3)
  expect_equal(lenApknuctri,expectedLen)
})

Try the ftrCOOL package in your browser

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

ftrCOOL documentation built on Nov. 30, 2021, 1:07 a.m.