psolymos / intrval

Relational Operators for Intervals
41 stars 4 forks source link

Overlap operators #15

Closed psolymos closed 7 years ago

codecov-io commented 7 years ago

Current coverage is 82.56% (diff: 24.44%)

Merging #15 into master will decrease coverage by 17.43%

@@           master        #15   diff @@
========================================
  Files           3          3          
  Lines         150        195    +45   
  Methods         0          0          
  Messages        0          0          
  Branches        0          0          
========================================
+ Hits          150        161    +11   
- Misses          0         34    +34   
  Partials        0          0          

Powered by Codecov. Last update 2f8a3e0...dd5c3b8

psolymos commented 7 years ago

Merging this branch to master. The current implementation of .intrval3 behaves consistent with other internals and have passed tests. By consistency I mean:

  1. pairs of interval endpoints are sorted
  2. operators thus refer to the sorted endpoints (and not to be matched by order
  3. accept/recycle vector/matrix/list object types.