tests/testthat/test-Rec2Polar.R

test_that("Rec2Polar works", {
  expect_equal(Rec2Polar(c(-sqrt(2),sqrt(2))), list(R=2,Theta=-pi/4))
})

Try the KEPTED package in your browser

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

KEPTED documentation built on May 29, 2024, 12:05 p.m.