diff options
Diffstat (limited to 'test/ruby/test_complex.rb')
-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 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 |