blob: 1789a664c7c4e386bc384e2bdd89186b036fe6cb (
plain)
1
2
3
4
5
6
7
8
9
10
|
require_relative '../../spec_helper'
require 'set'
describe "Set#empty?" do
it "returns true if self is empty" do
Set[].empty?.should be_true
Set[1].empty?.should be_false
Set[1,2,3].empty?.should be_false
end
end
|