greensync/interval-tree

The search results should be consistent between query 10 and queries 10..10.

Opened this issue · 0 comments

In current implementation, the result is not consistent:

IntervalTree::Tree.new(10..10).search(10)
 => [10...11]

IntervalTree::Tree.new(10..10).search(10..10)
 => []

The result of query 10..10 should be [10...11], too.