Sha256: 4a7bb122e403453f5c503f7f3ca0f222b1f21ece93ed75f0a10f3f2ff6ec49be

Contents?: true

Size: 454 Bytes

Versions: 1

Compression:

Stored size: 454 Bytes

Contents

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

require 'facet/array/thru.rb'


  require 'test/unit'

  class TCArray < Test::Unit::TestCase

    def test_thru
      assert_equal( [2,3,4], [0,1,2,3,4,5].thru(2,4) )
      assert_equal( [0,1], [0,1,2,3,4,5].thru(0,1) )
    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_thru.rb