tests/testthat/test-chf_1F1.R

test_that("Wrong parameters in the Kummer 1F1 function", {
  expect_warning(is.nan(chf_1F1(2.5, -1, 2)))
  expect_warning(is.nan(chf_1F1(2.5, 3, 2)))
})

Try the scModels package in your browser

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

scModels documentation built on Feb. 16, 2023, 6:12 p.m.