# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/nano/integer/times_collect.rb # # Extracted Fri Oct 28 14:20:18 EDT 2005 # Unit Tools Reap Test Extractor # require 'nano/integer/times_collect.rb' require 'test/unit' class TCInteger < Test::Unit::TestCase def test_times_collect a = 4 b = a.times_collect{ |i| i*2 } assert_equal( [0,2,4,6], b ) end end