blob: aa3a32765a109a0b772e2eabbeda0cd82df82241 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
require_relative '../../spec_helper'
ruby_version_is ""..."3.1" do
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
end
|