diff options
Diffstat (limited to 'test/test_mathn.rb')
-rw-r--r-- | test/test_mathn.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_mathn.rb b/test/test_mathn.rb index 7f2b294bba..135f66f261 100644 --- a/test/test_mathn.rb +++ b/test/test_mathn.rb @@ -9,4 +9,10 @@ class TestMathn < Test::Unit::TestCase 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 + + def test_quo + assert_in_out_err ['-r', 'mathn'], <<-EOS, %w(OK), [], '[ruby-core:41575]' + 1.quo(2); puts :OK + EOS + end end |