### Question:
IchimokuChikouSpan extends SingleValueIndicator { @Override public double getValue() { return value; } IchimokuChikouSpan(TimeInterval interval);  IchimokuChikouSpan(int timeDelay, TimeInterval interval);  IchimokuChikouSpan(int timeDelay, TimeInterval interval, ToDoubleFunction<Candle> valueGetter); @Override double getValue();  }### Answer:
@Test public void testCalculateWithDefaultParam() { int timeDelay = 26; IchimokuChikouSpan indicator = new IchimokuChikouSpan(timeDelay, TimeInterval.MINUTE); int i; for (i = 0; i < 26; i++) { indicator.accumulate(CandleHelper.newCandle(i, i)); assertEquals(0.0, indicator.getValue(), 0.0001); } indicator.accumulate(CandleHelper.newCandle(i++, i++)); assertEquals(1.0, indicator.getValue(), 0.0001); indicator.accumulate(CandleHelper.newCandle(i++, i++)); assertEquals(2.0, indicator.getValue(), 0.0001); }