aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/library/matrix/coerce_spec.rb
blob: 6e653315a605f0cddb64956cf839820778e3b5c4 (plain)
1
2
3
4
5
6
7
8
9
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