mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
e6ad87c3ba
commit
396650e0bd
15 changed files with 32 additions and 291 deletions
|
@ -882,10 +882,6 @@ class Complex_Test < Test::Unit::TestCase
|
|||
assert_equal([1, 2], [c.real, c.image])
|
||||
end
|
||||
|
||||
def test_prec
|
||||
assert_equal(nil, Complex < Precision)
|
||||
end
|
||||
|
||||
def test_supp
|
||||
assert_equal(true, 1.real?)
|
||||
assert_equal(true, 1.1.real?)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue