Closed ericphanson closed 2 years ago
Merging #11 (32114e0) into main (be2b363) will increase coverage by
1.34%
. The diff coverage isn/a
.
@@ Coverage Diff @@
## main #11 +/- ##
==========================================
+ Coverage 94.36% 95.71% +1.34%
==========================================
Files 4 4
Lines 71 70 -1
==========================================
Hits 67 67
+ Misses 4 3 -1
Impacted Files | Coverage Δ | |
---|---|---|
src/interop.jl | 92.85% <ø> (+3.20%) |
:arrow_up: |
:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more
Also removes some duplicated code in the tests (the same method is in
runtests.jl
andinterop.jl
).I noticed these issues when looking at https://github.com/beacon-biosignals/DataFrameIntervals.jl/pull/13
If we were to add an
Interval(::AlignedSpan)
constructor, I think the most natural one would bebecause an
AlignedSpan
really is a closed-closed interval of indices. However, we do support mapping to TimeSpans' closed-open world.