Sha256: 2baa2240da0533aab927d4132e2cde0bcd20abf7e001bba215a928b770263d1b
Contents?: true
Size: 618 Bytes
Versions: 1
Compression:
Stored size: 618 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/nano/enumerable/every.rb # # Extracted Fri Oct 28 14:20:18 EDT 2005 # Unit Tools Reap Test Extractor # require 'nano/enumerable/every.rb' require 'test/unit' class TCEnumerable < Test::Unit::TestCase def test_every_1 a = [1,2,3] assert_equal( [4,5,6], a.every + 3 ) assert_equal( [0,1,2], a.every - 1 ) assert_equal( ['1','2','3'], a.every.to_s ) end def test_every_2 a = [1,2,3] a.every! + 3 assert_equal( [4,5,6], a ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-0.9.0 | test/lib/nano/enumerable/test_every.rb |