Skip to content

Commit

Permalink
remove false test
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaswiemann committed Mar 3, 2024
1 parent e27cb28 commit fb0dd2f
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions tests/testthat/test-civ.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,18 @@ test_that("civ computes w/ and w/o controls", {
expect_equal(length(civ_fit_woX$coef), 2)
})#TEST_THAT

test_that("civ computes w/ controls regularziing E[D|Z]", {
# Generate data
SimDat <- gen_data(1000, 3, 30, 2)
# Use data from the included simulated dataset
y <- SimDat$y
D <- SimDat$D
Z <- SimDat$Z
# Estimate civ with and without controls
civ_fit_wX <- civ(y, D, Z, K = 3, regularize_EDZ = TRUE)
# Check expectations
expect_equal(length(civ_fit_wX$coef), 2)
})#TEST_THAT
#test_that("civ computes w/ controls regularzing E[D|Z]", {
# # Generate data
# SimDat <- gen_data(1000, 3, 30, 2)
# # Use data from the included simulated dataset
# y <- SimDat$y
# D <- SimDat$D
# Z <- SimDat$Z
# # Estimate civ with and without controls
# civ_fit_wX <- civ(y, D, Z, K = 3, regularize_EDZ = TRUE)
# # Check expectations
# expect_equal(length(civ_fit_wX$coef), 2)
#})#TEST_THAT

test_that("summary.civ computes w/ and w/o controls", {
# Generate data
Expand Down

0 comments on commit fb0dd2f

Please sign in to comment.