From 893d4f7a403deb1bbc608fb643bd7bdd6ff4bf93 Mon Sep 17 00:00:00 2001 From: Atsusaka Date: Thu, 28 Nov 2024 15:54:43 -0600 Subject: [PATCH] initiate test --- tests/testthat/test-imprr_direct.R | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/tests/testthat/test-imprr_direct.R b/tests/testthat/test-imprr_direct.R index b57cd96..b3722fe 100644 --- a/tests/testthat/test-imprr_direct.R +++ b/tests/testthat/test-imprr_direct.R @@ -1,6 +1,13 @@ -test_that("multiplication works", { - expect_equal(2 * 2, 4) +test_that("plug-in estimation works", { + +data("identity") + +example_direct <- imprr_direct(identity, + J = 4, + main_q = "app_identity", + anc_correct = "anc_correct_identity", + n_bootstrap = 10) + + }) -# This is a example test -# --- must be replaced with an actual test