diff options
Diffstat (limited to 'spec/rubyspec/library/matrix/hash_spec.rb')
-rw-r--r-- | spec/rubyspec/library/matrix/hash_spec.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/spec/rubyspec/library/matrix/hash_spec.rb b/spec/rubyspec/library/matrix/hash_spec.rb deleted file mode 100644 index b2e5b579b7..0000000000 --- a/spec/rubyspec/library/matrix/hash_spec.rb +++ /dev/null @@ -1,15 +0,0 @@ -require File.expand_path('../../../spec_helper', __FILE__) -require 'matrix' - -describe "Matrix#hash" do - - it "returns a Fixnum" do - Matrix[ [1,2] ].hash.should be_an_instance_of(Fixnum) - end - - it "returns the same value for the same matrix" do - data = [ [40,5], [2,7] ] - Matrix[ *data ].hash.should == Matrix[ *data ].hash - end - -end |