Sha256: e74319c24771d24ba46d50082593424f0244e88f0334ae1a6d0b4051acd66eb6

Contents?: true

Size: 535 Bytes

Versions: 1

Compression:

Stored size: 535 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/enumerable/filter_collect.rb
#
# Extracted Wed Aug 23 18:22:52 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.30 test/lib/facets/core/enumerable/test_filter_collect.rb