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-7.6.0 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-7.5.1 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-7.4.1 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-7.1.17 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-6.2.0 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-6.0.11 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-5.5.18 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-5.5.17 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-5.5.15 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-5.5.0.22 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-5.5.2 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-5.5.0.7 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-5.5.0.3 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rhodes-5.5.0 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
tauplatform-1.0.3 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
tauplatform-1.0.2 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
tauplatform-1.0.1 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb
rubysl-set-1.0.0 spec/sortedset/shared/length.rb
rubysl-set-2.0.1 spec/sortedset/shared/length.rb
rhodes-3.5.1.12 spec/framework_spec/app/spec/library/set/sortedset/shared/length.rb