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.3.37 spec/core/numeric/floor_spec.rb
opal-0.3.36 spec/core/numeric/floor_spec.rb
opal-0.3.35 spec/core/numeric/floor_spec.rb
opal-0.3.34 spec/core/numeric/floor_spec.rb
opal-0.3.33 spec/core/numeric/floor_spec.rb
opal-0.3.32 spec/core/numeric/floor_spec.rb
opal-0.3.31 spec/core/numeric/floor_spec.rb
opal-0.3.30 spec/core/numeric/floor_spec.rb
opal-0.3.29 spec/core/numeric/floor_spec.rb
opal-0.3.28 spec/core/numeric/floor_spec.rb