tests/testthat/test-near.R

test_that("near accepts nearby fp values", {
  expect_true(near(sqrt(2)^2, 2))
})
hadley/dplyr documentation built on Nov. 6, 2024, 4:48 p.m.