From c0e3f62a757de9393ef363f2363a7daeddf86e7b Mon Sep 17 00:00:00 2001 From: tadf Date: Sat, 30 Aug 2008 13:25:48 +0000 Subject: * rational.c: added a static variable for nurat_to_f. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_complex.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/ruby/test_complex.rb b/test/ruby/test_complex.rb index 9f3f58eb8..145306ed2 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 -- cgit