tests/testthat/test_Mismatch.R

context("Just testing Mismatch functionality")

test_that("Check whether Mismatch works properly",{
  mismatch<-Mismatch_DNA(seqs="ATCGACT",k = 2,m=1)

  expectedAA<-3
  expect_equal(mismatch[1,"AA"],expectedAA)
})

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.