blob: bdc85c3fdceb62f66ae05fe219214aa2ac705299 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
require File.expand_path('../../../spec_helper', __FILE__)
describe "Bignum#hash" do
it "is provided" do
bignum_value.respond_to?(:hash).should == true
end
it "is stable" do
bignum_value.hash.should == bignum_value.hash
bignum_value.hash.should_not == bignum_value(1).hash
end
end
|