jackc / tod

Time of day and shift types for Ruby
MIT License
435 stars 56 forks source link

Fix inconsistent behaviour in overlaps? #77

Closed jhwinters closed 3 years ago

jhwinters commented 3 years ago

For an edge case, a.overlaps?(b) and b.overlaps?(a) were returning different results. Extra tests to match.