tests/testthat/test_processing_functions.R

################################################################################
# Use testthat to test that basic pocesisng funcitonality is working
################################################################################
library("DegeneratePrimerTools"); packageVersion("DegeneratePrimerTools")
library("Biostrings"); packageVersion("Biostrings")
library("testthat"); packageVersion("testthat")
context('Checking processing functions')

data("AHBA_degeprimer")

test_that("Primers are being added to the MSA", {
  expect_is(add_primers_to_MSA(AHBA_degeprimer, position = 120), "DNAMultipleAlignment")
  
})
esnapd/DegeneratePrimerTools documentation built on Sept. 23, 2018, 5:21 a.m.