Sha256: c825ee0085664f67e0c4836b665f7cc18bfcca9d45f477738d3be74a15caa6b8
Contents?: true
Size: 343 Bytes
Versions: 21
Compression:
Stored size: 343 Bytes
Contents
describe "Kernel.rand" do it "returns a float if no argument is passed" do # rand.should be_kind_of(Float) end it "returns an integer for an integer argument" do # rand(77).should be_kind_of(Integer) end it "returns a numeric in opal" do rand.should be_kind_of(Numeric) rand(77).should be_kind_of(Numeric) end end
Version data entries
21 entries across 21 versions & 1 rubygems