summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-math/test
AgeCommit message (Collapse)Author
2021-04-21test/math.rb: `10**30` could cause integer overflow; ref #5420Yukihiro "Matz" Matsumoto
2021-02-07Enlarge tolerance limit for `float32`; close #5329Yukihiro "Matz" Matsumoto
Along with some refactoring on `mruby-math` tests.
2020-10-12Skip some `Math.atan2()` tests.Yukihiro "Matz" Matsumoto
Linux `atan2(3)` man page says: ``` If y is positive infinity (negative infinity) and x is positive infinity, +pi/4 (-pi/4) is re‐ turned. ``` But on Microsoft VC/MinGW, `atan2()` returns `NaN` if either of arguments is infinite. So we skip those tests on the platforms.
2019-12-07Add tests to `Math`KOBAYASHI Shuji
2019-03-29Fix missing assertions in `mruby-math` testKOBAYASHI Shuji
2019-03-28Use `Mrbtest::FLOAT_TOLERANCE` instead of `Math::TORELANCE`; ref #4345Yukihiro "Matz" Matsumoto
2014-08-05added Math.cos and Math.tan test casekkkkkt
2013-02-28Move Math::TOLERANCE to mruby-mathDaniel Bovensiepen
2013-02-28mv mrgems/mruby-math to mrbgemsYukihiro Matz Matsumoto