diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-16 02:02:47 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-16 02:02:47 +0000 |
commit | f4c987021e3c54dff19c543cbebf8872ea84c9b5 (patch) | |
tree | 2f5759d57e66090f633ba7202831f5f9f9ce454e | |
parent | 96d5b6f824e09c3a981d8bc41ca7ea618ed58776 (diff) | |
download | ruby-f4c987021e3c54dff19c543cbebf8872ea84c9b5.tar.gz |
test_rational.rb: duplicate assertions
* test/ruby/test_rational.rb (test_parse): remove duplicate
assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | test/ruby/test_rational.rb | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/test/ruby/test_rational.rb b/test/ruby/test_rational.rb index ed4c5b1006..83a4a64879 100644 --- a/test/ruby/test_rational.rb +++ b/test/ruby/test_rational.rb @@ -727,42 +727,6 @@ class Rational_Test < Test::Unit::TestCase ok[5000, 1, '5e3'] ok[500000000000, 1, '5e1_1'] - ok[ 5, 1, '5'] - ok[-5, 1, '-5'] - ok[ 5, 3, '5/3'] - ok[-5, 3, '-5/3'] - - ok[ 5, 1, '5.0'] - ok[-5, 1, '-5.0'] - ok[ 5, 3, '5.0/3'] - ok[-5, 3, '-5.0/3'] - - ok[ 5, 1, '5e0'] - ok[-5, 1, '-5e0'] - ok[ 5, 3, '5e0/3'] - ok[-5, 3, '-5e0/3'] - - ok[ 5e1, 1, '5e1'] - ok[-5e2, 1, '-5e2'] - ok[ 5e3, 3, '5e003/3'] - ok[-5e4, 3, '-5e004/3'] - - ok[ 33, 100, '.33'] - ok[ 33, 100, '0.33'] - ok[-33, 100, '-.33'] - ok[-33, 100, '-0.33'] - ok[-33, 100, '-0.3_3'] - - ok[ 1, 2, '5e-1'] - ok[50, 1, '5e+1'] - ok[ 1, 2, '5.0e-1'] - ok[50, 1, '5.0e+1'] - ok[50, 1, '5e1'] - ok[50, 1, '5E1'] - ok[500, 1, '5e2'] - ok[5000, 1, '5e3'] - ok[500000000000, 1, '5e1_1'] - ng[0, 1, ''] ng[0, 1, ' '] ng[5, 1, "\f\n\r\t\v5\0"] |