class RuboCop::Cop::Minitest::RefuteInDelta
refute_in_delta(0.2, actual, 0.001, ‘message’)
refute_in_delta(0.2, actual)
# good
refute_equal(0.2, actual, ‘message’)
refute_equal(0.2, actual)
# bad
@example
instead of using ‘refute_equal` to compare floats.
Enforces the test to use `refute_in_delta`