Sha256: 8c625dbdd5db25516d7ab583d80863087bdf19882716287274828de8359865ee
Contents?: true
Size: 349 Bytes
Versions: 2
Compression:
Stored size: 349 Bytes
Contents
require File.dirname(__FILE__) + '/test_helper' class DoppelgangerArrayTest < Test::Unit::TestCase context 'extended array object' do should "identify duplicate elements" do assert ![1,1,2].duplicates?(4) assert ![1,1,2].duplicates?(2) assert [1,1,2].duplicates?(1) assert ![].duplicates?(1) end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
brianjlandau-doppelganger-0.8.0 | test/array_test.rb |
doppelganger-0.8.0 | test/array_test.rb |