@Test
    public void testLengthLast(){
        int len = 10;
        calc = new DataCalc(inData, numberOfPoints);
        calc.createDataSet(0);
        outData = calc.getStructureIn();
        Assert.assertTrue(outData.getLength() == len);
    }