Sha256: b7889213d818c8ec0e473f6e637b500a2bb293ab1c40935bba37e170d7c694ef

Contents?: true

Size: 176 Bytes

Versions: 4

Compression:

Stored size: 176 Bytes

Contents

covers 'facets/array/uniq_by'

tests Array do

  unit :uniq_by! do
    e = [-5, -4, -3, -2, -1, 0]
    r = (-5..5).to_a
    r.uniq_by!{ |i| i*i }
    r.assert == e
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

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