module Minitest::Assertions

def assert_in_epsilon a, b, epsilon = 0.001, msg = nil

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