зеркало из https://github.com/github/ruby.git
test for r62555
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
789853edc6
Коммит
4704a0dc3b
|
@ -110,6 +110,7 @@ class Rational_Test < Test::Unit::TestCase
|
|||
assert_equal(Rational(3),Rational('3'))
|
||||
assert_equal(Rational(1),Rational('3.0','3.0'))
|
||||
assert_equal(Rational(1),Rational('3/3','3/3'))
|
||||
assert_equal(Rational(111, 1), Rational('1.11e+2'))
|
||||
assert_equal(Rational(111, 10), Rational('1.11e+1'))
|
||||
assert_equal(Rational(111, 10), Rational('1.11e1'))
|
||||
assert_equal(Rational(111, 100), Rational('1.11e0'))
|
||||
|
|
Загрузка…
Ссылка в новой задаче