Sha256: 4d4ae993a6dd3e392853f2bc46b9492b264205320ea66184a239181af69c90b6

Contents?: true

Size: 551 Bytes

Versions: 1

Compression:

Stored size: 551 Bytes

Contents

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

require 'facet/enumerable/none.rb'


  require 'test/unit'

  class TCEnumerable < Test::Unit::TestCase

    def test_none?
      a = [nil, nil]
      assert( a.none? )
      a = [false, false]
      assert( a.none? )
      a = [true, false]
      assert( ! a.none? )
      a = [nil, 1]
      assert( ! a.none? )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.0.3 packages/core/test/lib/facet/enumerable/test_none.rb