Sha256: e49742cd24d2bc2000ee647d9dba8894d4bb8f42b779dc5cd765cafd4f707a33

Contents?: true

Size: 295 Bytes

Versions: 7

Compression:

Stored size: 295 Bytes

Contents

require 'spec_helper'

describe 'performant array' do

  # describe "brute_force_intersect" do
  #   it "should intersect correctly" do
  #     arys = [[3,4], [1,2,3,4], [3,4,5,8,9]]
  #
  #     Performant::Array.brute_force_intersect(arys.sort_by(&:size)).should == [3,4]
  #   end
  # end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
picky-0.0.8 spec/lib/performant/array_spec.rb
picky-0.0.7 spec/lib/performant/array_spec.rb
picky-0.0.6 spec/lib/performant/array_spec.rb
picky-0.0.5 spec/lib/performant/array_spec.rb
picky-0.0.4 spec/lib/performant/array_spec.rb
picky-0.0.3 spec/lib/performant/array_spec.rb
picky-0.0.2 spec/lib/performant/array_spec.rb