Sha256: 8dfbb113e477e61a46e3aac4058fbf57eb675a77638251bca05578ba3421f3ea
Contents?: true
Size: 494 Bytes
Versions: 1
Compression:
Stored size: 494 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/enumerable/each_pair.rb # # Extracted Fri Feb 16 02:00:36 EST 2007 # Project.rb Test Extraction # 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.8.49 | test/lib/facets/core/enumerable/test_each_pair.rb |