mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@4ce9f41
This commit is contained in:
parent
267bed0cd9
commit
727c97da19
108 changed files with 1325 additions and 270 deletions
|
@ -31,13 +31,13 @@ describe "Integer#gcd" do
|
|||
-100.gcd(-100).should == 100
|
||||
end
|
||||
|
||||
it "accepts an Integer argument" do
|
||||
it "accepts a Bignum argument" do
|
||||
bignum = 9999**99
|
||||
bignum.should be_kind_of(Integer)
|
||||
99.gcd(bignum).should == 99
|
||||
end
|
||||
|
||||
it "works if self is an Integer" do
|
||||
it "works if self is a Bignum" do
|
||||
bignum = 9999**99
|
||||
bignum.should be_kind_of(Integer)
|
||||
bignum.gcd(99).should == 99
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue