# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/array/pot.rb # # Extracted Mon Jun 05 08:14:29 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/array/pot.rb' require 'test/unit' class TCArray < Test::Unit::TestCase def test_slap a = [2,3] assert_equal( [1,2,3], a.pot(1) ) assert_equal( [4,1,2,3], a.pot(4) ) end end