@Test
public void testAdd() {

    System.out.println("testAdd");
    TEWMA tewma = new TEWMA(16, 24, 0.3, 10);
    
    double value = tewma.add(272, 1, System.currentTimeMillis()/1000);
    System.out.println("Value: " + value);
    
    assertEquals(Math.ceil(1.203972), Math.ceil(value), 0);
}