Sha256: 357b6ead08ab39305d4e3cd1a6595dd9399f80c86fb2a30bc359741ce49e8c99

Contents?: true

Size: 256 Bytes

Versions: 6

Compression:

Stored size: 256 Bytes

Contents

describe "Fixnum#<" do
  it "returns true if self is less than the given argument" do
    (2 < 13).should == true
    (-600 < -500).should == true
    
    (5 < 1).should == false
    (5 < 5).should == false
    
    (5 < 4.999).should == false
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
opal-0.3.2 gems/core/spec/core/number/lt_spec.rb
opal-0.3.1 gems/core/spec/core/number/lt_spec.rb
opal-0.3.0 gems/core/spec/core/number/lt_spec.rb
opal-0.2.2 opals/opal/opal/spec/core/number/lt_spec.rb
opal-0.2.0 opals/opal/opal/spec/core/number/lt_spec.rb
opal-0.1.0 opals/opal/spec/core/number/lt_spec.rb