Class: Test::Unit::TestCase

Inherits:
Object show all
Defined in:
lib/vendor/quantified/test/test_helper.rb

Direct Known Subclasses

LengthTest, MassTest, TestXmlNode

Constant Summary collapse

EPSILON =
0.00001

Instance Method Summary collapse

Instance Method Details

#assert_in_epsilon(expected, actual, msg = nil) ⇒ Object


16
17
18
# File 'lib/vendor/quantified/test/test_helper.rb', line 16

def assert_in_epsilon(expected, actual, msg = nil)
  assert_in_delta expected, actual, EPSILON, msg
end