diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-04 15:10:44 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-04 15:10:44 +0000 |
commit | daad4e24338b8f567b0caf211d3337567c321934 (patch) | |
tree | 8a14db98b6a45b8e2342a12486889fdf7437c75f | |
parent | 782e379f299ebe2d3ec46cb4779e5c37e5cf20c6 (diff) | |
download | ruby-daad4e24338b8f567b0caf211d3337567c321934.tar.gz |
* 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
-rw-r--r-- | test/matrix/test_matrix.rb | 6 |
1 files changed, 0 insertions, 6 deletions
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 |