blob: f288cfb9d2c4168ca43afad223f92cfd1b3852ef (
plain)
1
2
3
4
5
6
7
8
|
require File.expand_path('../../../../spec_helper', __FILE__)
require 'set'
describe "SortedSet#to_a" do
it "returns an array containing elements of self" do
SortedSet[1, 2, 3].to_a.sort.should == [1, 2, 3]
end
end
|