Sha256: d5ea99d89a3587d45e59c61d3355420b5a5beae7191d3f9b0fc1cce83fd6868f
Contents?: true
Size: 663 Bytes
Versions: 1
Compression:
Stored size: 663 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facet/array/head.rb # # Extracted Wed Jan 25 11:25:39 EST 2006 # Unit Tools Reap Test Extractor # require 'facet/array/head.rb' require 'test/unit' class TCArray < Test::Unit::TestCase def test_head a = [1,2,3,4,5] assert_equal( [1], a.head ) end def test_tail a = [1,2,3,4,5] assert_equal( [2,3,4,5], a.tail ) end def test_foot a = [1,2,3,4,5] assert_equal( [5], a.foot ) end def test_body a = [1,2,3,4,5] assert_equal( [1,2,3,4], a.body ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.0.3 | packages/core/test/lib/facet/array/test_head.rb |