tests/testthat/test-calculateHZEIint.R

test_that("calculateHZEIperNT works for example sequence", {
  x <- calculateHZEIperNT('ATACCAGCCAGCTATTACATTT')
  expect_equal(sum(x[,3]), 24.59)
})


test_that("calculateHZEIperNT works for example sequence", {
  x <- calculateHZEIperNT('ATACCAGCCAGCTATTACATTT')
  expect_is(x, "data.frame")
})
caggtaagtat/snpsEvaluation documentation built on April 30, 2022, 11:26 p.m.