From 8a29e5b44bc6b49b47168a895a0a0532aafd6f1e Mon Sep 17 00:00:00 2001 From: hsbt Date: Fri, 22 Aug 2014 10:28:36 +0000 Subject: * test/ruby/test_complex.rb: fixed broken tests. Math is not compatible CMath now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_complex.rb | 57 ++++++++++++++++++++++++----------------------- 1 file changed, 29 insertions(+), 28 deletions(-) (limited to 'test/ruby/test_complex.rb') diff --git a/test/ruby/test_complex.rb b/test/ruby/test_complex.rb index aaad5ee088..0c333879ec 100644 --- a/test/ruby/test_complex.rb +++ b/test/ruby/test_complex.rb @@ -1,4 +1,5 @@ require 'test/unit' +require 'cmath' class ComplexSub < Complex; end @@ -1032,109 +1033,109 @@ class Complex_Test < Test::Unit::TestCase assert_equal(Complex(0.5,1.0), Complex(1,2).quo(2)) unless $".grep(/(?:\A|(?