Skip to content

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

@khiav223577

Description

@khiav223577

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions