Sha256: e80bad140d86917a18647a23b8a7106d0ba619b8a891230e7e2c187d107820fa

Contents?: true

Size: 157 Bytes

Versions: 70

Compression:

Stored size: 157 Bytes

Contents

describe "Numeric#ord" do
  it "returns self" do
    20.ord.should == 20
    40.ord.should == 40

    0.ord.should == 0
    (-10).ord.should == -10
  end
end

Version data entries

70 entries across 70 versions & 3 rubygems

Version Path
opal-0.10.6 spec/opal/core/numeric/ord_spec.rb
opal-0.10.6.beta spec/opal/core/numeric/ord_spec.rb
opal-0.10.5 spec/opal/core/numeric/ord_spec.rb
opal-0.10.4 spec/opal/core/numeric/ord_spec.rb
opal-0.11.0.rc1 spec/opal/core/numeric/ord_spec.rb
opal-0.10.3 spec/opal/core/numeric/ord_spec.rb
opal-0.10.2 spec/opal/core/numeric/ord_spec.rb
opal-0.10.1 spec/opal/core/numeric/ord_spec.rb
opal-0.10.0 spec/opal/core/numeric/ord_spec.rb
opal-0.10.0.rc2 spec/opal/core/numeric/ord_spec.rb
opal-0.9.4 spec/opal/core/numeric/ord_spec.rb
opal-0.9.3 spec/opal/core/numeric/ord_spec.rb
opal-0.10.0.rc1 spec/opal/core/numeric/ord_spec.rb
opal-0.10.0.beta5 spec/opal/core/numeric/ord_spec.rb
opal-0.10.0.beta4 spec/opal/core/numeric/ord_spec.rb
opal-0.10.0.beta3 spec/opal/core/numeric/ord_spec.rb
opal-0.10.0.beta2 spec/opal/core/numeric/ord_spec.rb
opal-0.10.0.beta1 spec/opal/core/numeric/ord_spec.rb
opal-0.9.2 spec/opal/core/numeric/ord_spec.rb
opal-0.9.0 spec/opal/core/numeric/ord_spec.rb