@Test
public void testFindRange_ForReferenceTimeAtStartOfHistory_SECS_1978() {

    final Array historyTimes = InsituData.createHistoryTimeArray_SECS_1978();
    final double referenceTime = 790323660;
    final Range range = InsituReaderHelper.findRange(historyTimes, referenceTime, HALF_DAY_SECS);
    assertTrue(historyTimes.getDouble(range.first()) == referenceTime);
    assertTrue(historyTimes.getDouble(range.last()) <= referenceTime + HALF_DAY_SECS);
    assertTrue(historyTimes.getDouble(range.last() + 1) > referenceTime + HALF_DAY_SECS);
}