From 45c2671e370a67686e0a64a7364baa00b628cceb Mon Sep 17 00:00:00 2001 From: mame Date: Thu, 21 Jan 2010 16:08:40 +0000 Subject: * test/ruby/test_bignum.rb, test/ruby/test_class.rb, test/ruby/test_defined.rb, test/ruby/test_hash.rb, test/ruby/test_primitive.rb, test/ruby/test_variable.rb: add some tests (for coverage). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_bignum.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test/ruby/test_bignum.rb') diff --git a/test/ruby/test_bignum.rb b/test/ruby/test_bignum.rb index cba935f121..40c4f21c3f 100644 --- a/test/ruby/test_bignum.rb +++ b/test/ruby/test_bignum.rb @@ -420,6 +420,7 @@ class TestBignum < Test::Unit::TestCase b = 1E+300.to_i assert_equal(b, (b ** 2).fdiv(b)) assert(@big.fdiv(0.0 / 0.0).nan?) + assert_in_delta(1E+300, (10**500).fdiv(1E+200), 1E+285) end def test_obj_fdiv -- cgit v1.2.3