tests/testthat/test-roxytest-tests-funcs.R

# Generated by roxytest: Do not edit by hand!

context("File R/funcs.R: @tests")

test_that("Function left() @ L62", {
  testthat::expect_equal(left("ABC", 2), "AB")
})


test_that("Function mid() @ L84", {
  testthat::expect_equal(mid("ABCDE", 2, 1), "B")
})


test_that("Function right() @ L105", {
  testthat::expect_equal(right("ABC", 2), "BC")
})
DataStrategist/amitFuncs documentation built on June 4, 2022, 10:01 a.m.