Sha256: 859b1aa78c6621982cc55490646f6d79063766c0570ef4d5c963a21c8956aedd

Contents?: true

Size: 180 Bytes

Versions: 70

Compression:

Stored size: 180 Bytes

Contents

describe "Numeric#floor" do
  it "returns the floor'ed value" do
    1.floor.should == 1
    (-42).floor.should == -42
    3.142.floor.should == 3
    0.floor.should == 0
  end
end

Version data entries

70 entries across 70 versions & 3 rubygems

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