Sha256: fd6f799a28b282ca5e95af95adafaa997c27a5feb670788eccd4f265d5a4ee12
Contents?: true
Size: 469 Bytes
Versions: 1
Compression:
Stored size: 469 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/array/select.rb # # Extracted Mon Jun 05 08:14:29 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/array/select.rb' require 'test/unit' class TCArray < Test::Unit::TestCase def test_select! a = [1,2,3,4,5,6,7,8,9,10] a.select!{ |e| e % 2 == 0 } assert_equal( [2,4,6,8,10], a) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.4.0 | test/lib/facets/core/array/test_select.rb |