ruby-changes:50439
From: nobu <ko1@a...>
Date: Sat, 24 Feb 2018 11:48:14 +0900 (JST)
Subject: [ruby-changes:50439] nobu:r62557 (trunk): test for r62555
nobu 2018-02-24 11:48:09 +0900 (Sat, 24 Feb 2018) New Revision: 62557 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62557 Log: test for r62555 Modified files: trunk/test/ruby/test_rational.rb Index: test/ruby/test_rational.rb =================================================================== --- test/ruby/test_rational.rb (revision 62556) +++ test/ruby/test_rational.rb (revision 62557) @@ -110,6 +110,7 @@ class Rational_Test < Test::Unit::TestCa https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rational.rb#L110 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')) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/