Sha256: 0a019a5d08f242c84d5bf80e897deef77ed19705d80e017c4ee8e82a5e21018c

Contents?: true

Size: 247 Bytes

Versions: 70

Compression:

Stored size: 247 Bytes

Contents

describe "Numeric#<" 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

70 entries across 70 versions & 3 rubygems

Version Path
opal-0.7.0.beta1 spec/opal/core/numeric/lt_spec.rb
opal-0.6.2 spec/opal/core/numeric/lt_spec.rb
opal-0.6.1 spec/opal/core/numeric/lt_spec.rb
opal-0.6.0 spec/opal/core/numeric/lt_spec.rb
opal-0.5.5 spec/opal/core/numeric/lt_spec.rb
opal-0.5.4 spec/corelib/numeric/lt_spec.rb
opal-0.5.2 spec/corelib/numeric/lt_spec.rb
opal-0.5.0 spec/corelib/numeric/lt_spec.rb
opal-0.4.4 spec/rubyspec/core/numeric/lt_spec.rb
opal-0.4.3 spec/rubyspec/core/numeric/lt_spec.rb
opal-0.4.2 spec/rubyspec/core/numeric/lt_spec.rb
opal-0.4.1 spec/rubyspec/core/numeric/lt_spec.rb
opal-0.4.0 spec/rubyspec/core/numeric/lt_spec.rb
opal-0.3.44 spec/rubyspec/core/numeric/lt_spec.rb
opal-0.3.43 spec/rubyspec/core/numeric/lt_spec.rb
opal-0.3.42 spec/core/numeric/lt_spec.rb
opal-0.3.41 spec/core/numeric/lt_spec.rb
opal-0.3.40 spec/core/numeric/lt_spec.rb
opal-0.3.39 spec/core/numeric/lt_spec.rb
opal-0.3.38 spec/core/numeric/lt_spec.rb