aboutsummaryrefslogtreecommitdiffstats
path: root/spec/rubyspec/library/set/intersection_spec.rb
blob: c5adef5fc4ffb235849c73bd077e53a4215c9bf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../shared/intersection', __FILE__)
require 'set'

describe "Set#intersection" do
  it_behaves_like :set_intersection, :intersection
end

describe "Set#&" do
  it_behaves_like :set_intersection, :&
end