mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Exclude json/add/complex.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
48b5b163fc
commit
90b7ddb89f
1 changed files with 1 additions and 1 deletions
|
@ -1020,7 +1020,7 @@ class Complex_Test < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
assert_equal(Complex(0.5,1.0), Complex(1,2).quo(2))
|
assert_equal(Complex(0.5,1.0), Complex(1,2).quo(2))
|
||||||
|
|
||||||
unless $".grep(/(\A|\/)complex/).empty?
|
unless $".grep(/(?:\A|(?<!add)\/)complex/).empty?
|
||||||
assert_equal(Complex(0,2), Math.sqrt(-4.0))
|
assert_equal(Complex(0,2), Math.sqrt(-4.0))
|
||||||
# assert_equal(true, Math.sqrt(-4.0).inexact?)
|
# assert_equal(true, Math.sqrt(-4.0).inexact?)
|
||||||
assert_equal(Complex(0,2), Math.sqrt(-4))
|
assert_equal(Complex(0,2), Math.sqrt(-4))
|
||||||
|
|
Loading…
Add table
Reference in a new issue