diff options
author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-30 13:25:48 +0000 |
---|---|---|
committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-30 13:25:48 +0000 |
commit | c0e3f62a757de9393ef363f2363a7daeddf86e7b (patch) | |
tree | 7c2121d26b408f4498a50f2f4e7ae48fa63a298b /test | |
parent | f68760070127530a2f06205d3f71a594582fe7f7 (diff) | |
download | ruby-c0e3f62a757de9393ef363f2363a7daeddf86e7b.tar.gz ruby-c0e3f62a757de9393ef363f2363a7daeddf86e7b.tar.xz ruby-c0e3f62a757de9393ef363f2363a7daeddf86e7b.zip |
* 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
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_complex.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |