Sha256: 451e946fd48b521cf8c256e304e9e1267f4355e1046b593ab7245222276fc338
Contents?: true
Size: 498 Bytes
Versions: 1
Compression:
Stored size: 498 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/enumerable/each_pair.rb # # Extracted Tue Jun 06 09:30:19 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/enumerable/each_pair.rb' require 'test/unit' class TCEnumerable < Test::Unit::TestCase def test_each_pair r = [] a = [1,2,3,4] a.each_pair{ |a,b| r << [a,b] } assert_equal( [[1,2],[3,4]], r ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.4.1 | test/lib/facets/core/enumerable/test_each_pair.rb |