tests/testthat/test-near.R

context("near")

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 July 4, 2019, 5:08 p.m.