summaryrefslogtreecommitdiff
path: root/test/matrix/test_vector.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/matrix/test_vector.rb')
-rw-r--r--test/matrix/test_vector.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/matrix/test_vector.rb b/test/matrix/test_vector.rb
index 4cc1404e8a..582509fd20 100644
--- a/test/matrix/test_vector.rb
+++ b/test/matrix/test_vector.rb
@@ -123,18 +123,6 @@ class TestVector < Test::Unit::TestCase
assert_equal(Matrix[[1,2,3]], @v1.covector)
end
- def test_elements_to_f
- assert_equal(Vector[0.5,1.0,1.5], @v1.elements_to_f * Rational(1, 2))
- end
-
- def test_elements_to_i
- assert_equal(Vector[0,1,1], (@v1.elements_to_f * Rational(1, 2)).elements_to_i)
- end
-
- def test_elements_to_r
- assert_equal(@v1.collect {|x| Rational(x, 2) }, @v1.elements_to_r * Rational(1, 2))
- end
-
def test_to_s
assert_equal("Vector[1, 2, 3]", @v1.to_s)
end