Sha256: 2717ab2554ef1d9080453338e727f69d3225326802dfa36222de0e9d954bee20
Contents?: true
Size: 675 Bytes
Versions: 1
Compression:
Stored size: 675 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/array/head.rb # # Extracted Fri Sep 08 20:20:33 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.7.46 | test/lib/facets/core/array/test_head.rb |