@Test
public void testFindRange_ForReferenceTimeAtEndOfHistory_MJD() {

    final Array historyTimes = InsituData.createHistoryTimeArray_MJD();
    final double referenceTime = 2455097.774;
    final Range range = InsituReaderHelper.findRange(historyTimes, referenceTime, HALF_DAY_MJD);
    assertTrue(historyTimes.getDouble(range.first() - 1) < referenceTime - HALF_DAY_MJD);
    assertTrue(historyTimes.getDouble(range.first()) >= referenceTime - HALF_DAY_MJD);
    assertTrue(historyTimes.getDouble(range.last()) == referenceTime);
}