Sha256: c63ac0781543fedb5e6266d72106f57da352e9adab9f3187a812e71caca79d58

Contents?: true

Size: 500 Bytes

Versions: 142

Compression:

Stored size: 500 Bytes

Contents

describe "the palindromic fixture", :shared => true do
  attr_reader :list, :node
  include IntervalSkipListSpecHelper

  before do
    @list = IntervalSkipList.new
  end

  it_should_behave_like "#next_node_height is deterministic"
  def expected_node_heights
    [3, 2, 1, 3, 1, 2, 3]
  end

  before do
    list.insert(1..3, :a)
    list.insert(1..5, :b)
    list.insert(1..7, :c)
    list.insert(1..9, :d)
    list.insert(1..11, :e)
    list.insert(1..13, :f)
    list.insert(5..13, :g)
  end
end

Version data entries

142 entries across 112 versions & 9 rubygems

Version Path
cloudhead-less-1.0.1 lib/vendor/treetop/spec/runtime/interval_skip_list/palindromic_fixture.rb
cloudhead-less-1.0.10 lib/vendor/treetop/spec/runtime/interval_skip_list/palindromic_fixture.rb
cloudhead-less-1.0.13 lib/vendor/treetop/spec/runtime/interval_skip_list/palindromic_fixture.rb
cloudhead-less-1.0.16 lib/vendor/treetop/spec/runtime/interval_skip_list/palindromic_fixture.rb
cloudhead-less-1.0.2 lib/vendor/treetop/spec/runtime/interval_skip_list/palindromic_fixture.rb
cloudhead-less-1.0.3 lib/vendor/treetop/spec/runtime/interval_skip_list/palindromic_fixture.rb
cloudhead-less-1.0.4 lib/vendor/treetop/spec/runtime/interval_skip_list/palindromic_fixture.rb
cloudhead-less-1.0.5 lib/vendor/treetop/spec/runtime/interval_skip_list/palindromic_fixture.rb
cloudhead-less-1.0.6 lib/vendor/treetop/spec/runtime/interval_skip_list/palindromic_fixture.rb
cloudhead-less-1.0.8 lib/vendor/treetop/spec/runtime/interval_skip_list/palindromic_fixture.rb
cloudhead-less-1.0.9 lib/vendor/treetop/spec/runtime/interval_skip_list/palindromic_fixture.rb
cloudhead-less-1.1.0 lib/vendor/treetop/spec/runtime/interval_skip_list/palindromic_fixture.rb
cloudhead-less-1.1.1 lib/vendor/treetop/spec/runtime/interval_skip_list/palindromic_fixture.rb
cloudhead-less-1.1.10 lib/vendor/treetop/spec/runtime/interval_skip_list/palindromic_fixture.rb
cloudhead-less-1.1.11 lib/vendor/treetop/spec/runtime/interval_skip_list/palindromic_fixture.rb
cloudhead-less-1.1.12 lib/vendor/treetop/spec/runtime/interval_skip_list/palindromic_fixture.rb
cloudhead-less-1.1.13 lib/vendor/treetop/spec/runtime/interval_skip_list/palindromic_fixture.rb
cloudhead-less-1.1.2 lib/vendor/treetop/spec/runtime/interval_skip_list/palindromic_fixture.rb
cloudhead-less-1.1.3 lib/vendor/treetop/spec/runtime/interval_skip_list/palindromic_fixture.rb
cloudhead-less-1.1.4 lib/vendor/treetop/spec/runtime/interval_skip_list/palindromic_fixture.rb