Sha256: 2b21605b5475df1492f1c48d7b613a9bcfd00b6e59afd5510e96f42ee0a17b5e

Contents?: true

Size: 535 Bytes

Versions: 1

Compression:

Stored size: 535 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/enumerable/filter_collect.rb
#
# Extracted Tue Jul 25 10:07:15 EDT 2006
# Unit Tools Reap Test Extractor
#

require 'facets/core/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-1.7.0 test/lib/facets/core/enumerable/test_filter_collect.rb