diff options
| author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-31 14:08:14 +0000 |
|---|---|---|
| committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-31 14:08:14 +0000 |
| commit | 64fc6340e6d0ebdad8312911dc83ca999e585c22 (patch) | |
| tree | c6e5cd284fd36b055042c0776113e30df6a0aeda /test/ruby/test_bignum.rb | |
| parent | f1a829636d65e352dbb8b9fc3746b99ccbe8ac88 (diff) | |
| download | ruby-64fc6340e6d0ebdad8312911dc83ca999e585c22.tar.gz ruby-64fc6340e6d0ebdad8312911dc83ca999e585c22.tar.xz ruby-64fc6340e6d0ebdad8312911dc83ca999e585c22.zip | |
* test/ruby/test_bignum.rb: suppress warnings during test.
* test/ruby/test_enum.rb: ditto.
* test/ruby/test_integer.rb: add tests to achieve over 90% test coverage of
numeric.c.
* test/ruby/test_float.rb: ditto.
* test/ruby/test_fixnum.rb: ditto.
* test/ruby/test_numeric.rb: ditto.
* test/ruby/test_pack.rb: add tests to achieve over 90% test coverage of
pack.c.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_bignum.rb')
| -rw-r--r-- | test/ruby/test_bignum.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/ruby/test_bignum.rb b/test/ruby/test_bignum.rb index c395e3b71..a08519238 100644 --- a/test/ruby/test_bignum.rb +++ b/test/ruby/test_bignum.rb @@ -1,6 +1,15 @@ require 'test/unit' class TestBignum < Test::Unit::TestCase + def setup + @verbose = $VERBOSE + $VERBOSE = nil + end + + def teardown + $VERBOSE = @verbose + end + def fact(n) return 1 if n == 0 f = 1 |
