1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
This commit is contained in:
Benoit Daloze 2022-01-28 14:42:38 +01:00
parent bb5f710887
commit e0c5488ff9
56 changed files with 531 additions and 137 deletions

View file

@ -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