Sha256: 8eab5839690950e09807997c5ff65cd9c675e63dca93500c661e895a8fda920d
Contents?: true
Size: 584 Bytes
Versions: 1
Compression:
Stored size: 584 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/nano/enumerable/one.rb # # Extracted Fri Oct 28 14:20:18 EDT 2005 # Unit Tools Reap Test Extractor # require 'nano/enumerable/one.rb' require 'test/unit' class TCEnumerable < Test::Unit::TestCase def test_one? a = [nil, true] assert( a.one? ) a = [true, false] assert( a.one? ) a = [true, true] assert( ! a.one? ) a = [true, 1] assert( ! a.one? ) a = [1, 1] assert( ! a.one? ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-0.9.0 | test/lib/nano/enumerable/test_one.rb |