diff options
Diffstat (limited to 'spec/rubyspec/library/matrix/coerce_spec.rb')
-rw-r--r-- | spec/rubyspec/library/matrix/coerce_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/rubyspec/library/matrix/coerce_spec.rb b/spec/rubyspec/library/matrix/coerce_spec.rb new file mode 100644 index 0000000000..6e653315a6 --- /dev/null +++ b/spec/rubyspec/library/matrix/coerce_spec.rb @@ -0,0 +1,10 @@ +require File.expand_path('../../../spec_helper', __FILE__) +require 'matrix' + +describe "Matrix#coerce" do + it "needs to be reviewed for spec completeness" + + it "allows the division of fixnum by a Matrix " do + (1/Matrix[[0,1],[-1,0]]).should == Matrix[[0,-1],[1,0]] + end +end |