Skip to content

Commit

Permalink
adjust test values to match new model
Browse files Browse the repository at this point in the history
  • Loading branch information
MOshima-PIFSC committed Feb 9, 2024
1 parent b2ab645 commit 84b8d26
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/testthat/test-HCxval.R
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ test_that("SSretroComps returns the correct comp data for simple model", {
)
retro_comps <- SSretroComps(retroModels)

expect_equal(retro_comps$n, 6)
expect_equal(retro_comps$startyrs, rep(26, 6))
expect_equal(retro_comps$endyrs, rep(100, 6))
expect_gt(nrow(retro_comps$con), 1)
expect_equal(retro_comps$n, 4)
expect_equal(retro_comps$startyrs, rep(2011, 4))
expect_equal(retro_comps$endyrs, rep(2022, 4))
#expect_gt(nrow(retro_comps$con), 1)
expect_gt(nrow(retro_comps$len), 1)
expect_gt(nrow(retro_comps$age), 1)
})
Expand Down

0 comments on commit 84b8d26

Please sign in to comment.