aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_complex.rb
diff options
context:
space:
mode:
authortadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-30 13:25:48 +0000
committertadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-30 13:25:48 +0000
commit74f9ec7e4f4a28da4cc57b14a2ee98e950ed91db (patch)
tree7c2121d26b408f4498a50f2f4e7ae48fa63a298b /test/ruby/test_complex.rb
parent7b2f9d923875b1b70032192554a3aae3276ce5b6 (diff)
downloadruby-74f9ec7e4f4a28da4cc57b14a2ee98e950ed91db.tar.gz
* rational.c: added a static variable for nurat_to_f.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_complex.rb')
-rw-r--r--test/ruby/test_complex.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_complex.rb b/test/ruby/test_complex.rb
index 9f3f58eb85..145306ed2a 100644
--- a/test/ruby/test_complex.rb
+++ b/test/ruby/test_complex.rb
@@ -283,12 +283,12 @@ class Complex_Test < Test::Unit::TestCase
assert_equal(Complex(1,1), Complex(1,1).nonzero?)
end
- def rect
+ def test_rect
assert_equal([1,2], Complex.rectangular(1,2).rectangular)
assert_equal([1,2], Complex.rect(1,2).rect)
end
- def polar
+ def test_polar
assert_equal([1,2], Complex.polar(1,2).polar)
end