# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/array/op_store.rb # # Extracted Mon Aug 14 22:47:17 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/array/op_store.rb' require 'test/unit' class TCArray < Test::Unit::TestCase def test_op_stroe a = ['a','o','z'] a[[0,2]] = ['A','Z'] assert_equal( ['A','o','Z'], a ) a[[0,-1]] = ['W','Y'] assert_equal( ['W','o','Y'], a ) end end