diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_complex.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/test/ruby/test_complex.rb b/test/ruby/test_complex.rb index e5f2bfc2ef..ca26f45d21 100644 --- a/test/ruby/test_complex.rb +++ b/test/ruby/test_complex.rb @@ -488,18 +488,6 @@ class Complex_Test < Test::Unit::TestCase assert_raise(NoMethodError){Complex(1,1) <=> Complex(1,1)} end - def test_equal - unless @unify - assert_equal(true, Complex(1,0).equal?(Complex(1))) - assert_equal(false, Complex(1,0).equal?(Complex(1.0))) - if (0.0/0).nan? - nan = 0.0/0 - assert_equal(true, Complex(nan).equal?(Complex(nan))) - assert_equal(false, Complex(nan).equal?(nan)) - end - end - end - def test_eqeq assert(Complex(1,0) == Complex(1)) assert(Complex(-1,0) == Complex(-1)) |