diff options
Diffstat (limited to 'mrbgems/mruby-math/test/math.rb')
| -rw-r--r-- | mrbgems/mruby-math/test/math.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mrbgems/mruby-math/test/math.rb b/mrbgems/mruby-math/test/math.rb index e9ea07cc1..4b474f212 100644 --- a/mrbgems/mruby-math/test/math.rb +++ b/mrbgems/mruby-math/test/math.rb @@ -3,9 +3,9 @@ ## # Performs fuzzy check for equality on methods returning floats -# on the basis of the Math::TOLERANCE constant. +# on the basis of the Mrbtest::FLOAT_TOLERANCE constant. def check_float(a, b) - tolerance = Math::TOLERANCE + tolerance = Mrbtest::FLOAT_TOLERANCE a = a.to_f b = b.to_f if a.finite? and b.finite? |
