1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
tadf 2011-04-26 16:09:14 +00:00
parent 184e9e9d88
commit 2ad123c298
2 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@ require 'test/unit'
class Complex_Test2 < Test::Unit::TestCase
def test_kumi
return unless defined?(Rational)
skip unless defined?(Rational)
assert_equal(Complex(1, 0), +Complex(1, 0))
assert_equal(Complex(-1, 0), -Complex(1, 0))

View file

@ -3,7 +3,7 @@ require 'test/unit'
class ComplexRational_Test < Test::Unit::TestCase
def test_rat_srat
return unless defined?(Rational)
skip unless defined?(Rational)
c = SimpleRat(1,3)
cc = Rational(3,2)
@ -88,7 +88,7 @@ class ComplexRational_Test < Test::Unit::TestCase
end
def test_comp_srat
return unless defined?(Rational)
skip unless defined?(Rational)
c = Complex(SimpleRat(2,3),SimpleRat(1,2))
cc = Complex(Rational(3,2),Rational(2,1))