Commit Graph

70 Commits

Author SHA1 Message Date
Yukihiro Matsumoto 501f7f6027 stop introducing Math::TORELANCE 2012-06-05 09:09:50 +09:00
Yukihiro "Matz" Matsumoto 114168a551 Merge pull request #245 from pbosetti/tests
Added Math.sqrt() that was missing in math.c, and added relevant test case
2012-06-04 17:04:47 -07:00
Paolo Bosetti 2c7cee8a1a Added Math.sqrt() that was missing in math.c, and added relevant test case 2012-06-04 15:57:05 -07:00
Daniel Bovensiepen db6c374301 Add Time tests 2012-06-05 03:11:56 +08:00
Yukihiro "Matz" Matsumoto d8f1e17ef6 Merge pull request #239 from thecodeshop/jf/mrb_open
guard mrb_open mem allocation and downstream usage
2012-06-03 09:41:32 -07:00
Daniel Bovensiepen 0c2d74020a Add more superclass tests 2012-06-03 23:31:53 +08:00
Daniel Bovensiepen c78dc2930c Add superclass tests for Exceptions 2012-06-03 23:31:17 +08:00
Daniel Bovensiepen 00caf25b52 Add BasicObject Tests 2012-06-03 23:30:15 +08:00
Daniel Bovensiepen 5612d195ec Improve Class#superclass to ISO 2012-06-03 23:29:40 +08:00
Jon 2fff59dc86 Check mrb_open return value for NULL 2012-06-03 11:11:35 -04:00
Kazuki Tsujimoto 0629cf21ba A rescue clause with no parameter list rescues only StandardErrors 2012-06-03 17:48:02 +09:00
Yukihiro Matsumoto 7f243a9b53 resolve conflict in test/t/class.rb 2012-06-03 08:23:40 +09:00
Yukihiro Matsumoto df80b7835a Add Class#superclass; a patch made by @bovi; close #234 2012-06-03 08:20:48 +09:00
Daniel Bovensiepen 57bd8d49ec Add first test case for Class#new and prepare further feature tests for it 2012-06-03 01:50:10 +08:00
Daniel Bovensiepen 2c58690df1 Add test cases for Hash 2012-06-02 23:39:00 +08:00
Daniel Bovensiepen 6ec149c4e3 Add string test for string interpolation 2012-06-02 16:44:16 +08:00
Yukihiro "Matz" Matsumoto 7752d2ab43 Merge pull request #221 from bovi/test-for-issue211
Add Test Case for issue #211
2012-06-02 00:55:33 -07:00
Daniel Bovensiepen 8804c7db65 Add Test Case for issue #211 2012-06-02 01:39:53 +08:00
Daniel Bovensiepen cb10b92783 Add Test Case for issue #210 2012-06-02 01:33:04 +08:00
Yukihiro Matsumoto 0009239f29 reimplement String#chomp 2012-05-31 16:29:47 +09:00
Yukihiro Matsumoto 3e8d330c2c remove #new from immediate classes 2012-05-31 11:11:55 +09:00
Yukihiro Matsumoto 1ac22054bc remove debug print 2012-05-30 16:25:51 +09:00
Yukihiro Matsumoto a4a48e3da1 specify allocating array size for Hash#values 2012-05-30 16:12:32 +09:00
Daniel Bovensiepen 82d600da24 Add literal tests for currently working String literals and make notice about literals which yet need to be proper implementation 2012-05-29 23:51:51 +08:00
Daniel Bovensiepen b92f302d59 SEGV by adding a new assert 2012-05-29 13:52:59 +08:00
Daniel Bovensiepen 61a47e344d Raise SEGV by using String literal 2012-05-29 07:23:17 +08:00
Daniel Bovensiepen b19575e5ac Forgot Literals file 2012-05-29 01:33:17 +08:00
Daniel Bovensiepen 31e9705022 Add Test cases for Literals, Enumeration, Exceptions and clean line endings 2012-05-29 01:20:46 +08:00
Yukihiro Matsumoto 4bca3e5470 should compile mrbtest if libmruby.a is modifie 2012-05-28 12:21:28 +09:00
Daniel Bovensiepen 74fb270298 add Enumerable tests and identify data corruption with merge in Hash 2012-05-27 00:50:39 +08:00
Daniel Bovensiepen 150b235fb6 Add Tests for all Exception classes, for false, true, Proc, Module, nil and Object 2012-05-25 14:01:14 +08:00
Yukihiro "Matz" Matsumoto f1f4f030dd Merge pull request #189 from bovi/add-kernel-tests
Add ISO Test Cases for Kernel
2012-05-23 17:09:10 -07:00
Daniel Bovensiepen 2664eb5ca6 Add ISO Test Cases for Kernel 2012-05-24 05:33:29 +08:00
Jon 105c11b7f6 Clean and DRY up the basic Makefiles 2012-05-23 13:19:40 -04:00
Yukihiro Matsumoto 52b2d092d3 test t/*.rb spacing fix 2012-05-23 12:00:49 +09:00
Yukihiro "Matz" Matsumoto 9a64598121 Merge pull request #180 from mitchblank/master
call mrb_close() in tools and test programs
2012-05-22 11:01:29 -07:00
Jon 9f89da6eef Add native and cross compiling CMake build support 2012-05-22 10:50:28 -04:00
Mitchell Blank Jr d1cd10421f change example code to do mrb_close()
I was hoping this would cause valgrind to complain less, but there is still
a lot of memory leaked (does mrb_close() actually free all of the managed
blocks?)  Anyway this helps somewhat and is good practice
2012-05-22 01:03:54 -07:00
Yukihiro Matsumoto 21bd5d7924 print description on exceptions 2012-05-21 10:39:29 +09:00
Daniel Bovensiepen e1e072b800 Fix Hash#shift return value from Hash to Array 2012-05-20 13:18:34 +08:00
Daniel Bovensiepen d45ecc3270 Complete ISO test cases for Hash, Range, String and Symbol 2012-05-19 23:18:42 +08:00
Daniel Bovensiepen 8bf21cdeae Finish all Float ISO Tests 2012-05-19 02:21:26 +08:00
Daniel Bovensiepen 2331738c21 Complete Integer Tests for ISO 2012-05-19 00:44:43 +08:00
Yukihiro Matsumoto 53f74d50ae update test/Makefile 2012-05-18 17:36:43 +09:00
Paolo Bosetti d1f6f504d5 Added some tests for Math module. Some refactoring in math.c; numeric tolerance exported as Math::TOLERANCE and also used for fuzzy tests in mrbtest suite 2012-05-17 23:50:56 -07:00
Paolo Bosetti 8027d5120d Merge branch 'tests' of github.com:pbosetti/mruby into tests 2012-05-17 22:55:35 -07:00
Yukihiro Matsumoto 8846f75ecc refactor test driver 2012-05-18 14:29:36 +09:00
Yukihiro Matsumoto 332565e3ba remove confusing dependency; run "make" before "make test" 2012-05-18 14:29:14 +09:00
Yukihiro Matsumoto 7fdc42355a rename compiler.h to mruby/compiler.h 2012-05-18 14:28:33 +09:00
Paolo Bosetti 5760ad7d59 Minor edits in tests for Math module 2012-05-17 17:40:21 -07:00