public void getValue() { UpperShadowIndicator upperShadow = new UpperShadowIndicator(series); Assert.AreEqual(upperShadow.GetValue(0), 2); Assert.AreEqual(upperShadow.GetValue(1), 1); Assert.AreEqual(upperShadow.GetValue(2), 1); Assert.AreEqual(upperShadow.GetValue(3), 0); Assert.AreEqual(upperShadow.GetValue(4), 0); }
public void GetValue() { var upperShadow = new UpperShadowIndicator(_series); TaTestsUtils.AssertDecimalEquals(upperShadow.GetValue(0), 2); TaTestsUtils.AssertDecimalEquals(upperShadow.GetValue(1), 1); TaTestsUtils.AssertDecimalEquals(upperShadow.GetValue(2), 1); TaTestsUtils.AssertDecimalEquals(upperShadow.GetValue(3), 0); TaTestsUtils.AssertDecimalEquals(upperShadow.GetValue(4), 0); }