public class TestMovingAverage extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private long[] |
data |
private double |
delta |
org.junit.rules.TestName |
name |
| Constructor and Description |
|---|
TestMovingAverage() |
| Modifier and Type | Method and Description |
|---|---|
void |
testExponentialMovingAverage() |
void |
testSimpleMovingAverage() |
void |
testWeightedMovingAverage() |
void |
testWindowMovingAverage() |
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName name
private long[] data
private double delta
public TestMovingAverage()
public void testSimpleMovingAverage() throws Exception
Exceptionpublic void testWindowMovingAverage() throws Exception
Exceptionpublic void testWeightedMovingAverage() throws Exception
Exceptionpublic void testExponentialMovingAverage() throws Exception
ExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.