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

ruby-changes:15338

From: marcandre <ko1@a...>
Date: Tue, 6 Apr 2010 00:30:29 +0900 (JST)
Subject: [ruby-changes:15338] Ruby:r27226 (trunk): * test/matrix/test_vector.rb: Oups, removed another obsolete test

marcandre	2010-04-06 00:30:18 +0900 (Tue, 06 Apr 2010)

  New Revision: 27226

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

  Log:
    * test/matrix/test_vector.rb: Oups, removed another obsolete test

  Modified files:
    trunk/test/matrix/test_vector.rb

Index: test/matrix/test_vector.rb
===================================================================
--- test/matrix/test_vector.rb	(revision 27225)
+++ test/matrix/test_vector.rb	(revision 27226)
@@ -80,11 +80,6 @@
     assert_equal(Vector[2.0,4.0,6.0], a)
   end
 
-  def test_compare_by
-    assert(@v1.compare_by([1,2,3], :==))
-    assert(!@v1.compare_by([1,2,3], :equal?))
-  end
-
   def test_mul
     assert_equal(Vector[2,4,6], @v1 * 2)
     assert_equal(Matrix[[1, 4, 9], [2, 8, 18], [3, 12, 27]], @v1 * Matrix[[1,4,9]])

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

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