Sha256: 8ae27f46335ad528948630cbfc34419658d52473a8541b80a27e0d33b855f0de

Contents?: true

Size: 215 Bytes

Versions: 1

Compression:

Stored size: 215 Bytes

Contents

require 'test/unit'

require 'facet/array/[]'


class TC_Array < Test::Unit::TestCase

  # []
  
  def test_square_brackets
    a = ['a','b','c','d','e','f']
    assert_equal( ['a','c','e'], a[0,2,4] )
  end
 
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-0.6.3 test/array/tc_brackets.rb