Sha256: 76231a280f8ccaf0d6fe6552e61e271ee9a876c3301a747727eb518f27987d82

Contents?: true

Size: 179 Bytes

Versions: 54

Compression:

Stored size: 179 Bytes

Contents

describe :sorted_set_length, :shared => true do
  it "returns the number of elements in the set" do
    set = SortedSet["a", "b", "c"]
    set.send(@method).should == 3
  end
end

Version data entries

54 entries across 54 versions & 3 rubygems

Version Path
rhodes-3.3.5 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-3.4.2 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-3.3.4 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-3.3.3 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-3.3.3.beta.4 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-3.3.3.beta.3 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-3.3.3.beta.2 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-3.3.3.beta.1 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-3.3.2 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-3.3.2.beta.7 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-3.3.2.beta.6 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-3.3.2.beta.5 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-3.3.2.beta.4 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-3.3.2.beta.3 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-3.3.2.beta.2 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-3.3.2.beta.1 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-3.3.1 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-3.3.0 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-3.3.0.beta.3 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-3.3.0.beta.2 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb