tests/testthat/test-ellipticAlpha.R

test_that("A value of the elliptic alpha function", {
  expected <- (sqrt(7) - 2) / 2
  expect_equal(
    ellipticAlpha(7), as.complex(expected)
  )
})

Try the jacobi package in your browser

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

jacobi documentation built on Nov. 19, 2023, 1:08 a.m.