mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
use skip
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
184e9e9d88
commit
2ad123c298
2 changed files with 3 additions and 3 deletions
|
@ -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))
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue