Sha256: 59581388adf6f350195e0abc93cc554e33bbf18e264a02a926427f205ecf1b5d

Contents?: true

Size: 268 Bytes

Versions: 135

Compression:

Stored size: 268 Bytes

Contents

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

Version data entries

135 entries across 135 versions & 2 rubygems

Version Path
rhodes-7.6.0 spec/framework_spec/app/spec/core/integer/shared/to_i.rb
rhodes-7.5.1 spec/framework_spec/app/spec/core/integer/shared/to_i.rb
rhodes-7.4.1 spec/framework_spec/app/spec/core/integer/shared/to_i.rb
rhodes-7.1.17 spec/framework_spec/app/spec/core/integer/shared/to_i.rb
rhodes-6.2.0 spec/framework_spec/app/spec/core/integer/shared/to_i.rb
rhodes-6.0.11 spec/framework_spec/app/spec/core/integer/shared/to_i.rb
rhodes-5.5.18 spec/framework_spec/app/spec/core/integer/shared/to_i.rb
rhodes-5.5.17 spec/framework_spec/app/spec/core/integer/shared/to_i.rb
rhodes-5.5.15 spec/framework_spec/app/spec/core/integer/shared/to_i.rb
rhodes-5.5.0.22 spec/framework_spec/app/spec/core/integer/shared/to_i.rb
rhodes-5.5.2 spec/framework_spec/app/spec/core/integer/shared/to_i.rb
rhodes-5.5.0.7 spec/framework_spec/app/spec/core/integer/shared/to_i.rb
rhodes-5.5.0.3 spec/framework_spec/app/spec/core/integer/shared/to_i.rb
rhodes-5.5.0 spec/framework_spec/app/spec/core/integer/shared/to_i.rb
tauplatform-1.0.3 spec/framework_spec/app/spec/core/integer/shared/to_i.rb
tauplatform-1.0.2 spec/framework_spec/app/spec/core/integer/shared/to_i.rb
tauplatform-1.0.1 spec/framework_spec/app/spec/core/integer/shared/to_i.rb
rhodes-3.5.1.12 spec/framework_spec/app/spec/core/integer/shared/to_i.rb
rhodes-3.3.5 spec/framework_spec/app/spec/core/integer/shared/to_i.rb
rhodes-3.4.2 spec/framework_spec/app/spec/core/integer/shared/to_i.rb