From 716c40233461107b6d8cbc7e1e88b8ee1d6815a0 Mon Sep 17 00:00:00 2001 From: Will Beasley Date: Sat, 7 Sep 2024 20:09:32 -0500 Subject: [PATCH] add stub fx & test --- R/stub.R | 3 +++ tests/testthat/test-stub.R | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 R/stub.R create mode 100644 tests/testthat/test-stub.R diff --git a/R/stub.R b/R/stub.R new file mode 100644 index 0000000..1c207f6 --- /dev/null +++ b/R/stub.R @@ -0,0 +1,3 @@ +stub <- function() { + TRUE +} diff --git a/tests/testthat/test-stub.R b/tests/testthat/test-stub.R new file mode 100644 index 0000000..f7322a4 --- /dev/null +++ b/tests/testthat/test-stub.R @@ -0,0 +1,3 @@ +test_that("multiplication works", { + expect_true(stub()) +})