tests/testthat/test-roxytest-testexamples-functions.R

# Generated by roxytest: Do not edit by hand!

context("File R/functions.R: @testexamples")

test_that("Function foo2() @ L68", {
  
  x <- 2
  foo2(x)
  
  expect_equal(foo2(x), foo2(2))
})
mikldk/roxytest-demo documentation built on May 20, 2020, 11:13 a.m.