13
0
livetrax/libs/evoral
Colin Fletcher dd5fc9432f Simplify Evoral::RangeList::subtract(), and make it pass amended tests
The various conditionals in Evoral::RangeList::subtract() appear to have
been there to work around
 (a) coverage() not always returning the correct value, &
 (b) the test suite assuming that the ->to point lies outside the range

Now that these are both fixed, the implementation of subtract() becomes
quite a bit clearer. I replaced the if()s with assert()s for now, but these
shouldn't trip if coverage() is working as I expect.

Also (attempt to) clarify the comments in subtract.
2014-12-01 20:13:04 +00:00
..
evoral Simplify Evoral::RangeList::subtract(), and make it pass amended tests 2014-12-01 20:13:04 +00:00
MSVCevoral Remove braindead Parameter inheritance abuse. 2014-11-30 23:56:20 -05:00
src Remove braindead Parameter inheritance abuse. 2014-11-30 23:56:20 -05:00
test Make tests of Evoral::Range functions include both endpoints in Range 2014-12-01 16:52:58 +00:00
run-tests.sh Fairly major change to the way in which crossfades are handled; 2012-04-16 16:32:22 +00:00
wscript Fix build with a certain awful broken compiler. 2014-11-23 16:31:59 -05:00