mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* complex.c: refined.
* rational.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
364b083425
commit
5ac09d7627
4 changed files with 90 additions and 79 deletions
|
@ -603,7 +603,7 @@ class Rational_Test < Test::Unit::TestCase
|
|||
assert_equal(Rational(3,4), c.quo(c2))
|
||||
|
||||
assert_equal(Rational(1,4), c.quo(2))
|
||||
assert_equal(Rational(0.25), c.quo(2.0))
|
||||
assert_equal(0.25, c.quo(2.0))
|
||||
end
|
||||
|
||||
def test_fdiv
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue