module Minitest::Assertions

def assert_in_epsilon exp, act, epsilon = 0.001, msg = nil

def assert_in_epsilon exp, act, epsilon = 0.001, msg = nil
  assert_in_delta exp, act, [exp.abs, act.abs].min * epsilon, msg
end