tests/testthat/test-make_postspawn.R

test_that("Returns numeric of length 1", {
  
  expect_length(make_postspawn(river = "Hudson", species = "AMS"), 1)
  expect_type(make_postspawn(river = "Hudson", species = "AMS"), 'double')
  
})
danStich/anadrofish documentation built on June 11, 2025, 11:25 p.m.