tests/testthat/test-near.R

test_that("near accepts nearby fp values", {
  expect_true(near(sqrt(2)^2, 2))
})

Try the dplyr package in your browser

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

dplyr documentation built on Nov. 17, 2023, 5:08 p.m.