tests/testthat/test-Prd.R

test_that("That Prd appropriately checks for q and eps", {
  Prd(0, -3) |> expect_error()
  Prd(2, 0) |> expect_error()
})

Try the nnR package in your browser

Any scripts or data that you put into this service are public.

nnR documentation built on May 29, 2024, 2:02 a.m.