Flowdock
method

refute_in_delta

Importance_1
v1_9_3_392 - Show latest stable - 0 notes - Class: Assertions
refute_in_delta(exp, act, delta = 0.001, msg = nil) public

For comparing Floats. Fails if exp is within delta of act

refute_in_delta Math::PI, (22.0 / 7.0)
Show source
Register or log in to add new notes.