inst/tinytest/test_near.R

expect_true(
  near(sqrt(2)^2, 2),
  info = "near() accepts nearby fp values"
)

Try the poorman package in your browser

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

poorman documentation built on Nov. 2, 2023, 5:27 p.m.