mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@902ab83
This commit is contained in:
parent
bb5f710887
commit
e0c5488ff9
56 changed files with 531 additions and 137 deletions
|
@ -11,8 +11,8 @@ describe :integer_abs, shared: true do
|
|||
|
||||
context "bignum" do
|
||||
it "returns the absolute bignum value" do
|
||||
bignum_value(39).send(@method).should == 9223372036854775847
|
||||
(-bignum_value(18)).send(@method).should == 9223372036854775826
|
||||
bignum_value(39).send(@method).should == 18446744073709551655
|
||||
(-bignum_value(18)).send(@method).should == 18446744073709551634
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue