Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
the current combinedRange implementation in its current form "combines" only ranges which contain eachother
but the comments suggests that the intention was to capture the case when the 2 intervals are overlap; can be checked with the following testcase:
@Test public void test11() { Range r1 = new Range(0, 1); Range r2 = new Range(1, 11); Range r3 = StatsUtils.combineRange(r1, r2); assertNotNull(r3); }