8000 Wrong detecting overlaps for contiguous Intervals · Issue #2 · AlexandreDecan/portion · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Wrong detecting overlaps for contiguous Intervals  #2
Closed
@ssic7i

Description

@ssic7i

.overlaps working wrong when intervals are contiguous
examples:

I.closed(1, 2).overlaps(I.closed(2, 3))
True
I.closed(1, 2).overlaps(I.closedopen(2, 3))
False (should be True)
I.closed(1, 2).overlaps(I.closed(2, I.inf))
False (should be True)


I.closed(2, I.inf).overlaps(I.closed(1,2))
False (should be True)
I.closed(2, 3).overlaps(I.closed(1,2))
True
I.closedopen(2, 3).overlaps(I.closed(1,2))
False (should be True)

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0