blob: 7b974cd3a7e8f41072d9c7f9f24f5619fb0bbb75 (
plain)
1
2
3
4
5
6
7
8
|
describe :integer_to_i, shared: true do
it "returns self" do
10.send(@method).should eql(10)
(-15).send(@method).should eql(-15)
bignum_value.send(@method).should eql(bignum_value)
(-bignum_value).send(@method).should eql(-bignum_value)
end
end
|