Skip to content

Commit

Permalink
remove test on nll in recruitment
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea-Havron-NOAA committed Aug 7, 2024
1 parent c3a35ae commit 2ab4e25
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/testthat/test-rcpp-recruitment-interface.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,5 @@ test_that("Recruitment input settings work as expected", {
expected_lpdf <- sum(log(stats::dnorm(log_devs, 0, 0.7)))


recruitment$estimate_log_devs <- FALSE
expect_equal(recruitment$evaluate_lpdf(), 0.0)

recruitment$estimate_log_devs <- TRUE
expect_equal(recruitment$evaluate_lpdf(), expected = expected_lpdf)

clear()
})

0 comments on commit 2ab4e25

Please sign in to comment.