Sha256: 095c52023fc6de8bbbcd6fe0e9524e8cc0df901f7b35a45bb819fe11b68535fb
Contents?: true
Size: 463 Bytes
Versions: 1
Compression:
Stored size: 463 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/nano/array/delete_unless.rb # # Extracted Fri Oct 28 14:20:18 EDT 2005 # Unit Tools Reap Test Extractor # require 'nano/array/delete_unless.rb' require 'test/unit' class TC_DELETE_UNLESS < Test::Unit::TestCase def test_delete_unless a = [1,2,3] a.delete_unless{ |e| e == 2 } assert_equal( [2], a ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-0.9.0 | test/lib/nano/array/test_delete_unless.rb |