Sha256: 0412e24ace1f2c8686034508ab7682d36f822a9448d581d45981f8f688422cbf

Contents?: true

Size: 223 Bytes

Versions: 4

Compression:

Stored size: 223 Bytes

Contents

covers 'facets/array/nonuniq'

testcase Array do

  unit :nonuniq do
    a = [1,1,2,2,3,4,5]
    a.nonuniq.assert == [1,2]
  end

  unit :nonuniq! do
    a = [1,1,2,2,3,4,5]
    a.nonuniq!
    a.assert == [1,2]
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
facets-2.9.1 test/core/array/test_nonuniq.rb
facets-2.9.0 test/core/array/test_nonuniq.rb
facets-2.9.0.pre.2 test/core/array/test_nonuniq.rb
facets-2.9.0.pre.1 test/core/array/test_nonuniq.rb