Sha256: 5acc1b2b8a2b40ecea4724ad653314fc9d9b33e418c6f9554e8c39d3014dc4a9

Contents?: true

Size: 487 Bytes

Versions: 1

Compression:

Stored size: 487 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/enumerable/compact_collect.rb
#
# Extracted Wed Aug 23 18:22:52 EDT 2006
# Unit Tools Reap Test Extractor
#

require 'facets/core/enumerable/compact_collect.rb'


  require 'test/unit'

  class TCEnumerable < Test::Unit::TestCase

    def test_compact_collect
      a = [1,2,nil,4].compact_collect { |e| e }
      assert_equal( [1,2,4], 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_compact_collect.rb