Sha256: 090a00b21f6cb4ee598cd8034bc5d485c00c54bdc44d3de4ddfd69321edfc7ce

Contents?: true

Size: 563 Bytes

Versions: 1

Compression:

Stored size: 563 Bytes

Contents

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

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