mruby/mruby — pull request #148 by bovi (2012-05-16 18:26:55+00:00)
Title: Add Tests for Math, Integer, Numeric and Array

This patch includes:

* test cases for the new *Math* implementation
* test cases for all ISO specs of *Array*
* test cases for all ISO specs of *Numeric*
* test cases for *Integer*

ATTENTION: I'm not sure how we should test *Math* in the best way. Due to the reason that *Float* is as always nasty I'm afraid that it will behave different on different platforms (maybe I'm totally wrong here). I just added some common knowledge as test cases but we need to add more to prove that the Math implementation works identical, specially due to the reason that for Windows there is now a special case. I'm looking forward to comments on how to improve the test coverage for *Math* in an platform independent way.