From 396650e0bd353e30b873683f008f92e2aa498971 Mon Sep 17 00:00:00 2001 From: yugui Date: Fri, 19 Sep 2008 13:10:54 +0000 Subject: * prec.c: removed. Precision will be redesigned and be back again. c.f. [ruby-dev:36352]. * common.mk (COMMON_OBJS): removed prec.o. * inits.c (rb_call_inits): removed Init_Precision. * numeric.c (Init_Numeric): removed inclusion of Precision. removed #induced_from from each class. * rational.c: ditto. * ext/bigdecimal/bigdecimal.c: ditto. * lib/rdoc/knwon_classes.rb: removed the entry for Precision. * test/ruby/test_prec.rb: removed. * test/ruby/test_integer.rb: removed tests for Precision. * test/ruby/test_fixnum.rb: ditto. * test/ruby/test_float.rb: ditto. * test/ruby/test_rational.rb: ditto. * test/ruby/test_complex.rb: ditto. * test/bigdecimal/test_bigdecimal.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/bigdecimal/test_bigdecimal.rb | 7 ------- 1 file changed, 7 deletions(-) (limited to 'test/bigdecimal') diff --git a/test/bigdecimal/test_bigdecimal.rb b/test/bigdecimal/test_bigdecimal.rb index e9d1d0bdb6..99ce108458 100644 --- a/test/bigdecimal/test_bigdecimal.rb +++ b/test/bigdecimal/test_bigdecimal.rb @@ -245,13 +245,6 @@ class TestBigDecimal < Test::Unit::TestCase assert_operator(BigDecimal.new((2**100).to_s), :==, d) end - def test_induced_from - assert_instance_of(BigDecimal, BigDecimal.induced_from(1)) - assert_raise(TypeError) do - BigDecimal.induced_from(Time.now) - end - end - def test_precs a = BigDecimal.new("1").precs assert_instance_of(Array, a) -- cgit v1.2.3