@Test
public void testFindRange_ForReferenceTimeAtUpperLimit_SECS_1978() {

    final Array historyTimes = InsituData.createHistoryTimeArray_SECS_1978();
    final double referenceTime = 791596007 + HALF_DAY_SECS;
    final Range range = InsituReaderHelper.findRange(historyTimes, referenceTime, HALF_DAY_SECS);
    assertNotSame(Range.EMPTY, range);
    assertTrue(range.first() == range.last());
    assertTrue(historyTimes.getDouble(range.first()) == referenceTime - HALF_DAY_SECS);
}