public
Description: A Ruby interface to the Octave interpreted language
Clone URL: git://github.com/daikini/octave-ruby.git
Added test for 0x0 matrix
daikini (author)
Mon May 19 10:05:33 -0700 2008
commit  43ea48c64a4cd59fc8efc295117f1353534cf4c4
tree    5504ee2fb88276b45a9d82117bdec3c6741e2386
parent  d00c524ec1c97b396f1c89d118b93ef23f2a8401
...
69
70
71
 
 
 
 
 
72
73
74
...
69
70
71
72
73
74
75
76
77
78
79
0
@@ -69,6 +69,11 @@ class ConversionsTest < Test::Unit::TestCase
0
     assert_octave_and_ruby_equal matrix
0
   end
0
   
0
+ def test_should_convert_a_0x0_octave_matrix
0
+ matrix = Octave::Matrix.new(0, 0)
0
+ assert_octave_and_ruby_equal matrix
0
+ end
0
+
0
   def test_should_convert_a_1xn_octave_matrix_to_an_array
0
     matrix = Octave::Matrix.new(1, 3)
0
     matrix[0, 0] = 1

Comments

    No one has commented yet.