# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/array/thru.rb # # Extracted Tue Jun 06 09:30:19 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/array/thru.rb' require 'test/unit' class TCArray < Test::Unit::TestCase def test_thru assert_equal( [2,3,4], [0,1,2,3,4,5].thru(2,4) ) assert_equal( [0,1], [0,1,2,3,4,5].thru(0,1) ) end end