tests/testthat/test-allPeakLengths.R

context("All peaks length tester")

test_that("all peaks length graphs produces properly", {
  peaksGraph <- allPeakLengths(fpath <- system.file("extdata", "somepeaksfile.txt", package="geneXtendeR"))
  
  expect_equal(peaksGraph$n, 25089)
})

if (file.exists("peaks.txt")) {
  file.remove("peaks.txt")
}
Bohdan-Khomtchouk/geneXtendeR_keepme documentation built on June 3, 2019, 10:09 p.m.