Sha256: 64a36c0f55964591a25b27b5988a6e54fccd54e359851e8c68e89a1c7cc41a15

Contents?: true

Size: 446 Bytes

Versions: 1

Compression:

Stored size: 446 Bytes

Contents

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

require 'facet/array/slap.rb'


  require 'test/unit'

  class TCArray < Test::Unit::TestCase

    def test_slap
      a = [2,3]
      assert_equal( [1,2,3], a.slap(1) )
      assert_equal( [4,1,2,3], a.slap(4) )
    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_slap.rb