# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/enumerable/none.rb # # Extracted Wed Jul 05 11:47:50 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