Sha256: c2bfc3bf0d1d0eb6f7fffdd28a83cde8e16dbe5a6000085b2555995c0cdc0be5
Contents?: true
Size: 446 Bytes
Versions: 1
Compression:
Stored size: 446 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/array/pos.rb # # Extracted Wed Aug 23 18:22:53 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/array/pos.rb' require 'test/unit' class TCArray < Test::Unit::TestCase def test_pos a = [1,2,3,4,5] assert_equal( 0, a.pos(1) ) assert_equal( 4, a.pos(-1) ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.7.30 | test/lib/facets/core/array/test_pos.rb |