inst/tinytest/test-roxytest-tests-functions.R

# Generated by roxytest: Do not edit by hand!

# File R/functions.R: @tests

## Function foo() @ L11
expect_equal(foo(2), sqrt(2))
expect_error(foo("a string"))


## Function bar() @ L27
expect_equal(bar("A", "B"), paste("A", "B", sep = "/"))


## Function foo2() @ L68
expect_equal(foo2(2), sqrt(2))
expect_error(foo2("a string"))
mikldk/roxytest-demo documentation built on May 20, 2020, 11:13 a.m.