method

assert_in_epsilon

Importance_1
v1_9_3_392 - Show latest stable - 0 notes - Class: Assertions
assert_in_epsilon(a, b, epsilon = 0.001, msg = nil) public

For comparing Floats. Fails unless exp and act have a relative error less than epsilon.

Show source
Register or log in to add new notes.