@Test
public void testGetDouble_Offset() {

    DoubleArraySeries s = new DoubleArraySeries(new double[]{1., 2.1, 3.2, 4}, 1, 2);
    assertEquals(2.1, s.getDouble(0), 0.001);
    assertEquals(3.2, s.getDouble(1), 0.001);
}