Sha256: 9b3f61769ac3bc70c2c928463a868aca426ac269be241e3ec30890a6e220e1fd

Contents?: true

Size: 521 Bytes

Versions: 1

Compression:

Stored size: 521 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/nano/enumerable/filter_collect.rb
#
# Extracted Fri Oct 28 14:20:18 EDT 2005
# Unit Tools Reap Test Extractor
#

require 'nano/enumerable/filter_collect.rb'


  require 'test/unit'

  class TCEnumerable < Test::Unit::TestCase

    def test_filter_collect
      e = [3,4]
      a = [1,2,3,4].filter_collect { |n|
        throw(:skip) if n < 3
        n
      }
      assert_equal( e, a )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-0.9.0 test/lib/nano/enumerable/test_filter_collect.rb