Sha256: 705ef2064bfff2873cc682e79826153b6326baa024c5713c7a0db51fe185234b
Contents?: true
Size: 309 Bytes
Versions: 4
Compression:
Stored size: 309 Bytes
Contents
covers 'facets/integer/even' # NOTE: Can't test on Integer directly b/c Ruby 1.8.7 defines separate # methods for Fixnum. testcase Fixnum do unit :even? do (-100..100).step(2) do |n| n.even?.assert == true end (-101..101).step(2) do |n| n.even?.assert == false end end end
Version data entries
4 entries across 4 versions & 1 rubygems