@Test
public void reset() {

    DataSeries series = new DataSeries();
    assertEquals(0, series.size());
    series.addPoint(1,2);
    assertEquals(1, series.size());
    series.reset();
    assertEquals(0, series.size());
}