@Test
public void testClosestToLowerBound() {

    assertEquals(1.3, SpikeInterpolation.getLowerBound(useAr, 1.4), 1e-8);
    assertEquals(1.3, SpikeInterpolation.getLowerBound(useAr, 1.5), 1e-8);
    assertEquals(1.7, SpikeInterpolation.getLowerBound(useAr, 1.9), 1e-8);
    assertEquals(2.0, SpikeInterpolation.getLowerBound(useAr, 2.1), 1e-8);
    assertEquals(3, SpikeInterpolation.getLowerBound(useAr, 3), 1e-8);
    assertEquals(3, SpikeInterpolation.getLowerBound(useAr, 4), 1e-8);
    assertEquals(3, SpikeInterpolation.getLowerBound(useAr, 30), 1e-8);
}