Sha256: 6cb961ca7d141b7ec3091293bdbc6cc521237f7f7000efb23dd83410f6d2787a
Contents?: true
Size: 675 Bytes
Versions: 1
Compression:
Stored size: 675 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/array/head.rb # # Extracted Tue Jun 06 09:30:19 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/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.4.1 | test/lib/facets/core/array/test_head.rb |