mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/matrix/test_vector.rb: Oups, removed another obsolete test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
500c78c610
commit
634616d7f3
1 changed files with 0 additions and 5 deletions
|
@ -80,11 +80,6 @@ class TestVector < Test::Unit::TestCase
|
|||
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]])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue