Sha256: b2fc71ce1ffa2a66bb24bf7d23ecf773f50e96520ad5b3f4a1b7f2c004520869
Contents?: true
Size: 317 Bytes
Versions: 52
Compression:
Stored size: 317 Bytes
Contents
require File.expand_path('../../../spec_helper', __FILE__) require 'rational' describe :rational_hash, :shared => true do # BUG: Rational(2, 3).hash == Rational(3, 2).hash it "is static" do Rational(2, 3).hash.should == Rational(2, 3).hash Rational(2, 4).hash.should_not == Rational(2, 3).hash end end
Version data entries
52 entries across 52 versions & 2 rubygems