blob: 4022f00236a802e497a34259f3c4c5250721ef50 (
plain)
1
2
3
4
5
6
7
8
|
require_relative '../../spec_helper'
require 'matrix'
describe "Matrix#coerce" do
it "allows the division of integer by a Matrix " do
(1/Matrix[[0,1],[-1,0]]).should == Matrix[[0,-1],[1,0]]
end
end
|