Sha256: a889a04ba0228705ddc3ca18b3996ce179b1810eae0095d11fcdd326c4c4116c

Contents?: true

Size: 515 Bytes

Versions: 1

Compression:

Stored size: 515 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facet/array/op_store.rb
#
# Extracted Wed Jan 25 11:25:39 EST 2006
# Unit Tools Reap Test Extractor
#

require 'facet/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


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.0.3 packages/core/test/lib/facet/array/test_op_store.rb