powered by
Are two objects equal?
are_equal(x, y, ...)
objects to compare
additional arguments passed to all.equal
all.equal
Other assertions: is.error, is.scalar, noNA, not_empty
is.error
is.scalar
noNA
not_empty
# NOT RUN { x <- 2 see_if(are_equal(x, 1.9)) see_if(are_equal(x, 1.999, tol = 0.01)) see_if(are_equal(x, 2)) # }
Run the code above in your browser using DataLab