diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-08 23:05:08 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-08 23:05:08 +0000 |
commit | 228a99a0b2ff60f5bcc276981b47873ab39fe063 (patch) | |
tree | 16fca9c604643c8a92d39262eb6792027ad4f591 /test/test_mathn.rb | |
parent | 08df8218659167a99cd1b1a52c5eab0519c515dc (diff) |
Add test for r35265.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_mathn.rb')
-rw-r--r-- | test/test_mathn.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_mathn.rb b/test/test_mathn.rb index fd0cb32c6c..7f2b294bba 100644 --- a/test/test_mathn.rb +++ b/test/test_mathn.rb @@ -6,6 +6,7 @@ class TestMathn < Test::Unit::TestCase def test_power assert_in_out_err ['-r', 'mathn', '-e', 'a=1**2;!a'], "", [], [], '[ruby-core:25740]' assert_in_out_err ['-r', 'mathn', '-e', 'a=(1<<126)**2;!a'], "", [], [], '[ruby-core:25740]' + assert_in_out_err ['-r', 'mathn/complex', '-e', 'a=Complex(0,1)**4;!a'], "", [], [], '[ruby-core:44170]' assert_in_out_err ['-r', 'mathn/complex', '-e', 'a=Complex(0,1)**5;!a'], "", [], [], '[ruby-core:44170]' end end |