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
Paolo Bosetti
0567ee03a5
Merge branch 'master' into math_tests
2012-05-16 14:37:22 -07:00
Yukihiro Matsumoto
3bbd82c240
remove duplicated rule
2012-05-17 05:59:31 +09:00
Paolo Bosetti
576fdcdf6d
Added some tests for trig functions in Math module. Also, tests are made against a tolerance on Floats
2012-05-16 12:44:03 -07:00
Daniel Bovensiepen
3bec8b330c
Add Tests for Numeric
2012-05-16 11:18:55 -07:00
Daniel Bovensiepen
241d3f7eb3
Add Tests for Integer
2012-05-16 11:18:42 -07:00
Daniel Bovensiepen
5c6f04120a
Add Math Test for new implementation
2012-05-16 10:58:00 -07:00
Daniel Bovensiepen
dacecdb93c
Better indention of assert report
2012-05-16 10:18:27 -07:00
Daniel Bovensiepen
582795a3bf
Complete all Array ISO Codes
2012-05-16 10:15:30 -07:00
Daniel Bovensiepen
26c6031a53
Move assert lib for tests one directory up and add it always in the beginning
2012-05-16 16:07:55 +08:00
Daniel Bovensiepen
dd6af6d2ec
Add newline in the end of test case files so that the concat of all files works in all cases proper
2012-05-16 16:00:05 +08:00
Daniel Bovensiepen
b4a80d7485
Add first part of the bootstrap code
2012-05-16 15:50:54 +08:00
Daniel Bovensiepen
254023f1e7
Remove array for now due to the reason that they are lost after exception was raised
2012-05-16 15:49:40 +08:00
Daniel Bovensiepen
769a7e0ed3
handle exceptions in tests and reduce syntax features in assert code
2012-05-16 15:47:22 +08:00
Yukihiro Matsumoto
8085817cb5
make test restructuring
2012-05-14 23:04:13 +09:00
Daniel Bovensiepen
c82a518ee1
removed.. content is now in time.rb
2012-05-14 20:22:20 +08:00
Daniel Bovensiepen
c8c0ef85bc
mrit - Embeddable Ruby ISO Test
2012-05-14 20:21:31 +08:00