Sha256: 177bae2bd3c9bf55525850ba411d050e6bfc37b2ad7deb9f73182d1e851b2fc5
Contents?: true
Size: 401 Bytes
Versions: 3
Compression:
Stored size: 401 Bytes
Contents
require "spec_helper" require "hamster/sorted_set" describe Hamster::SortedSet do describe "#first" do [ [[], nil], [["A"], "A"], [%w[A B C], "A"], [%w[Z Y X], "X"] ].each do |values, expected| context "on #{values.inspect}" do it "returns #{expected.inspect}" do SS[*values].first.should eql(expected) end end end end end
Version data entries
3 entries across 3 versions & 2 rubygems