@Test
public void testMakeHendersonFilter() {

    for (int i = 1; i < 100; i += 2) {
        SymmetricFilter filter = TrendCycleFilterFactory.makeHendersonFilter(i);
        DataBlock w = new DataBlock(filter.getWeights());
        assertTrue(Math.abs(w.sum() - 1) < 1e-9);
    }
}