From 228a99a0b2ff60f5bcc276981b47873ab39fe063 Mon Sep 17 00:00:00 2001 From: naruse Date: Sun, 8 Apr 2012 23:05:08 +0000 Subject: Add test for r35265. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/test_mathn.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test') 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 -- cgit v1.2.3