Sha256: 94819351d864c1e712ff65f57d45ee168636da04a9a8c821c255c78d709c71f9
Contents?: true
Size: 628 Bytes
Versions: 1
Compression:
Stored size: 628 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facet/kernel/val.rb # # Extracted Wed Jan 25 11:25:39 EST 2006 # Unit Tools Reap Test Extractor # require 'facet/kernel/val.rb' require 'test/unit' class TCKernel < Test::Unit::TestCase def test_val_1 f = nil t = 1 assert( ! f.val? ) assert( t.val? ) end def test_val_2 f = [] t = [1] assert( ! f.val? ) assert( t.val? ) end def test_val_3 f = '' t = '1' assert( ! f.val? ) assert( t.val? ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.0.3 | packages/core/test/lib/facet/kernel/test_val.rb |