@Test
public void testFindRange_ForReferenceTimeInHistory_MJD() {

    final Array historyTimes = InsituData.createHistoryTimeArray_MJD();
    final double referenceTime = 2455090.56;
    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 + HALF_DAY_MJD);
    assertTrue(historyTimes.getDouble(range.last() + 1) > referenceTime + HALF_DAY_MJD);
}