Sha256: c75d143a789578f436cc2cd21c224f63efa7900ec323c9cd730d06e8e65eaf61
Contents?: true
Size: 266 Bytes
Versions: 5
Compression:
Stored size: 266 Bytes
Contents
require 'queencheck/integer' describe Integer do it ".arbitrary?" do Integer.arbitrary?.should be_true end it ".arbitrary" do 100.times do Integer.arbitrary(0).should be_zero end 100.times do |n| n = n / 100.0 end end end
Version data entries
5 entries across 5 versions & 1 rubygems