mirror of
https://github.com/ruby/ruby.git
synced 2025-09-23 04:24:04 +02:00
* test/ruby/test_complex.rb: cherry-picked working assertions from r47251.
* test/ruby/test_rational.rb: cherry-picked working assertions from r47263. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
63683cb46d
commit
618dadaaaa
3 changed files with 13 additions and 0 deletions
|
@ -173,8 +173,10 @@ class Rational_Test < Test::Unit::TestCase
|
|||
c = Rational(1)
|
||||
|
||||
if @unify
|
||||
assert_equal(true, c.integer?)
|
||||
assert_equal(true, c.real?)
|
||||
else
|
||||
assert_equal(false, c.integer?)
|
||||
assert_equal(true, c.real?)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue