tests/testthat/test-getCodon.R

#Testing the getCodon function for working

test_that("outputs a character vector dividing by 3", {
  expect_equal(getCodon("UCGUUA", start = 1), c("UCG","UUA"))
})
rforbiodatascience22/group_14_package documentation built on April 7, 2022, 8:20 p.m.