コード例 #1
0
 public void constantIndicator()
 {
     Assert.AreEqual(multiplierIndicator.GetValue(10), 4.5M);
     Assert.AreEqual(multiplierIndicator.GetValue(1), 4.5M);
     Assert.AreEqual(multiplierIndicator.GetValue(0), 4.5M);
     Assert.AreEqual(multiplierIndicator.GetValue(30), 4.5M);
 }
コード例 #2
0
 public void ConstantIndicator()
 {
     TaTestsUtils.AssertDecimalEquals(_multiplierIndicator.GetValue(10), "4.5");
     TaTestsUtils.AssertDecimalEquals(_multiplierIndicator.GetValue(1), "4.5");
     TaTestsUtils.AssertDecimalEquals(_multiplierIndicator.GetValue(0), "4.5");
     TaTestsUtils.AssertDecimalEquals(_multiplierIndicator.GetValue(30), "4.5");
 }