# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/array/thru.rb # # Extracted Fri Feb 16 02:00:37 EST 2007 # Project.rb Test Extraction # 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