From daad4e24338b8f567b0caf211d3337567c321934 Mon Sep 17 00:00:00 2001 From: marcandre Date: Sun, 4 Apr 2010 15:10:44 +0000 Subject: * test/matrix/test_matrix.rb (class): Cleanup tests git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/matrix/test_matrix.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'test/matrix/test_matrix.rb') diff --git a/test/matrix/test_matrix.rb b/test/matrix/test_matrix.rb index 526d7a3124..0beef462a2 100644 --- a/test/matrix/test_matrix.rb +++ b/test/matrix/test_matrix.rb @@ -267,10 +267,6 @@ class TestMatrix < Test::Unit::TestCase assert(!Matrix[[1, 0, 0], [0, 1, 0]].square?) end - def test_compare_by_row_vectors - assert(@m1.compare_by_row_vectors([[1, 2, 3], [4, 5, 6]])) - end - def test_mul assert_equal(Matrix[[2,4],[6,8]], Matrix[[2,4],[6,8]] * Matrix.I(2)) assert_equal(Matrix[[4,8],[12,16]], Matrix[[2,4],[6,8]] * 2) @@ -332,14 +328,12 @@ class TestMatrix < Test::Unit::TestCase assert_in_delta(45.0, Matrix[[7,6],[3,9]].det, 0.0001) assert_in_delta(0.0, Matrix[[0,0],[0,0]].det, 0.0001) assert_in_delta(-7.0, Matrix[[0,0,1],[0,7,6],[1,3,9]].det, 0.0001) - assert_in_delta(0,0, @m1.det, 0.0001) end def test_det_e assert_equal(45, Matrix[[7,6],[3,9]].det_e) assert_equal(0, Matrix[[0,0],[0,0]].det_e) assert_equal(-7, Matrix[[0,0,1],[0,7,6],[1,3,9]].det_e) - assert_equal(0, @m1.det_e) end def test_rank2 -- cgit v1.2.3