Commit Graph

125 Commits

Author SHA1 Message Date
Yukihiro Matsumoto 34cf05679c add Math::TOLERANCE 2012-08-01 01:12:09 +09:00
Yukihiro Matsumoto 0270d11c81 float do not have enough precision to round if MRB_USE_FLOAT is set 2012-08-01 00:45:12 +09:00
Masamitsu MURASE d5bcaafd91 Modify return value of mrbtest.
This is an improvement for CI, such as Travis.
2012-07-29 18:45:47 +09:00
Masamitsu MURASE b71063b239 Modify test for Class.
* Rename some classes in test/t/class.rb to avoid name conflict.
* Add tests for mismatch fo superclass.
2012-07-29 14:21:12 +09:00
Akira Kuroda a2aa7e7f52 fix segmentation fault in Array#first 2012-07-29 00:21:40 +09:00
Yukihiro Matsumoto 344946233c do not use TrueClass/FalseClass.new 2012-07-26 23:00:34 +09:00
Yukihiro "Matz" Matsumoto a621f08ecf Merge pull request #395 from monaka/pr-add-more-test-for-array
Add tests for coverage.
2012-07-26 04:33:44 -07:00
Masaki Muranaka 1cda5e0768 Add tests for coverage. 2012-07-25 16:13:44 +09:00
Yukihiro "Matz" Matsumoto ec309c6fd7 Merge pull request #393 from akuroda/array_last_fix
fix segmentation fault in Array#last
2012-07-24 16:55:12 -07:00
Akira Kuroda f114e3e252 fix segmentation fault in Array#last 2012-07-25 00:05:51 +09:00
Akira Kuroda 9dd3ac36d1 add test cases for floor, inifinite?, truncate, ceil, and round 2012-07-22 21:53:58 +09:00
Yukihiro "Matz" Matsumoto 8eca0d5609 Merge pull request #378 from masamitsu-murase/modify_proc_lambda
Modify proc_lambda
2012-07-17 16:25:36 -07:00
Masamitsu MURASE e6f1e7b899 Add tests for Kernel#lambda and Kernel.lambda. 2012-07-18 02:25:34 +09:00
Masamitsu MURASE 6f2aefae1f Add test for 'respond_to?'. 2012-07-18 02:23:16 +09:00
Yukihiro Matsumoto 094fdc4367 resolve conflict 2012-07-17 02:05:39 +09:00
Yukihiro Matsumoto 6696876e72 refactoring on module tests 2012-07-17 02:01:52 +09:00
Yukihiro Matsumoto 526dd09b7a add Module#ancestors 15.2.2.4.9 2012-07-17 01:33:40 +09:00
Masamitsu MURASE 8020c280aa Add test for Kernel#extend. 2012-07-17 00:56:18 +09:00
Daniel Bovensiepen e8b5309080 Add a Test Case for #359 Array Corruption 2012-07-10 15:11:31 +08:00
Daniel Bovensiepen 0c10becf91 Add tests for Modules #append_features, #include, #included and #included_modules 2012-07-08 04:44:55 +08:00
Yukihiro Matsumoto 0d99856b57 proper type check when creating a range; #345 2012-07-08 00:20:56 +09:00
Yukihiro Matsumoto becb7e9877 .. is weaker than == 2012-07-08 00:19:40 +09:00
Yukihiro Matsumoto cd1e1a0089 remove unused variables 2012-07-03 21:33:20 +09:00
Yukihiro Matsumoto e814495576 test/driver to use EXIT_SUCCESS 2012-07-03 21:04:25 +09:00
Yukihiro Matsumoto 65096c4c1b add context to parser, that would hold local variable info, filename, and line number. mrbc_context argument has been added to mrb_parse_xxx() functions. Normally, you just to need to add NULL (or 0) to the last argument of the above functions. 2012-07-03 20:59:07 +09:00
Daniel Bovensiepen e8ad94da93 Fix kernel test descriptions 2012-06-27 03:12:37 +08:00
Daniel Bovensiepen d3bf659bfd Add more kernel tests 2012-06-27 03:06:07 +08:00
Yukihiro Matsumoto ccde2d3be0 update ISO chapter number in test/t/kernel.rb 2012-06-24 22:30:56 +09:00
Yukihiro "Matz" Matsumoto 431d1c8e2b Merge pull request #316 from masamitsu-murase/modify_obj_clone
Modify Kernel#clone and Kernel#dup
2012-06-24 06:26:49 -07:00
Masamitsu MURASE 062e96960d Add sample test for Kernel#clone and Kernel#dup. 2012-06-24 16:55:43 +09:00
Masamitsu MURASE a194f30f62 Add test for Struct#==. 2012-06-24 04:03:46 +09:00
Daniel Bovensiepen 2ae84f7d83 Add execution time to tests 2012-06-21 16:00:04 +08:00
Yukihiro "Matz" Matsumoto d105ea496f Merge pull request #305 from bovi/optional-feature
Tests are executed based on available features
2012-06-21 00:11:35 -07:00
Daniel Bovensiepen 7a410123dd only execute struct tests if struct feature is activated 2012-06-21 15:02:08 +08:00
Daniel Bovensiepen 1baa3faf3f only execute time tests if time feature is activated 2012-06-21 15:01:52 +08:00
Daniel Bovensiepen 8e89cd456c only execute math tests if math feature is activated 2012-06-21 15:01:39 +08:00
Daniel Bovensiepen 304b7eec0a Skip time test in case that Time isn't implemented 2012-06-21 14:23:36 +08:00
Daniel Bovensiepen d88a37c1c9 Skip struct test in case that Struct isn't implemented 2012-06-21 14:23:21 +08:00
Daniel Bovensiepen c09f804e2b Skip math test in case that Math isn't implemented 2012-06-21 14:22:50 +08:00
Masaki Muranaka 750a639eab Add test for Array#to_s and Array#inspect. 2012-06-21 11:43:03 +09:00
Yukihiro Matsumoto 1a7bdcf156 remove local_variables test 2012-06-19 16:48:31 +09:00
Daniel Bovensiepen 83e5999d7e Make CFLAG choices in Makefiles more flexible 2012-06-18 11:22:05 +08:00
Yukihiro Matsumoto f88a839914 add Struct tests 2012-06-18 09:09:00 +09:00
Yukihiro Matsumoto 39f47c1915 remove LoadError 2012-06-15 13:55:27 +09:00
Masaki Muranaka cfd5f5157d Move Subclasses of ScriptError to mrblib. 2012-06-15 13:06:43 +09:00
Masaki Muranaka 587e0b0137 Tests for Comparable. Still not all path coverage. 2012-06-14 17:47:29 +09:00
Yukihiro Matsumoto 73d7000b8f remove .inspect from bs_block.rb tests 2012-06-14 05:15:08 +09:00
Masaki Muranaka bddbf20785 Assert should handle all exceptions. 2012-06-13 09:41:30 +09:00
Yukihiro Matsumoto f537e2bb96 block_given? should work; close #262 2012-06-12 19:09:11 +09:00
Yukihiro Matsumoto 30a062c165 String#split("") should split per character (byte for now) 2012-06-12 12:58:49 +09:00