tests/testthat/test_APAAC.R

context("Just testing APAAC functionality")

test_that("Check whether length of APAAC vector is correct",{
  apaac<-APAAC(seqs = "AYCMLWTIL",lambda = 3,l = 2)
  lenApaac<-length(apaac)
  expectedLen<-400+(2*3)
  expect_equal(lenApaac,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.