Skip to content

Commit

Permalink
Adds test for combo of sci and common
Browse files Browse the repository at this point in the history
  • Loading branch information
kellijohnson-NOAA committed Apr 18, 2024
1 parent 33668a3 commit 8bc2143
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/testthat/test-data.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,16 @@ test_that("pull_catch-multispecies", {
label = "entries of 2 species filtered for lingcod",
expected.label = "entries of lingcod"
)
dat_lingcod_anoplopoma <- pull_catch(
common_name = "lingcod",
sci_name = "Anoplopoma fimbria",
survey = "NWFSC.Combo",
years = 2017
)
expect_equal(
NROW(dat_lingcod_sablefish),
NROW(dat_lingcod_anoplopoma)
)
})

test_that("PullHaul", {
Expand Down

0 comments on commit 8bc2143

Please sign in to comment.