[前][次][番号順一覧][スレッド一覧]

ruby-changes:20271

From: naruse <ko1@a...>
Date: Thu, 30 Jun 2011 12:40:51 +0900 (JST)
Subject: [ruby-changes:20271] naruse:r32318 (trunk): Rerefix test introduced by r32307.

naruse	2011-06-30 12:31:01 +0900 (Thu, 30 Jun 2011)

  New Revision: 32318

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32318

  Log:
    Rerefix test introduced by r32307.

  Modified files:
    trunk/test/test_cmath.rb

Index: test/test_cmath.rb
===================================================================
--- test/test_cmath.rb	(revision 32317)
+++ test/test_cmath.rb	(revision 32318)
@@ -7,7 +7,7 @@
   end
 
   def test_acos
-    assert_in_delta (CMath.acos(Complex(3, 4)) - Complex(0.9368124611557199,-2.305509031243477)).abs2, 0
+    assert_in_delta CMath.acos(Complex(3, 4)), Complex(0.9368124611557199,-2.305509031243477)
   end
 
   def test_cbrt_returns_principal_value_of_cube_root

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]