public void TowardsZeroCheckerreturnsTrueWhenCurrentIsEqualToTarget() { //Arrange var towardsZeroChecker = new TowardsZeroChecker(); //Act var result = towardsZeroChecker.CurrentValueIsEqualToTargetValue(2, 2); //Assert Assert.IsTrue(result); }
public void TowardsZeroCheckerReturnsfalseIfcurrentIsMoreThanTargetMinusWarning() { //Arrange var towardsZeroChecker = new TowardsZeroChecker(); //Act var result = towardsZeroChecker.CurrentValueIsBetterThanTargetValueAndWarning(5, 7, 3); //Assert Assert.IsFalse(result); }
public void TowardsZeroCheckerreturnsTrueWhenCurrentIsLowerThanTarget() { //Arrange var towardsZeroChecker = new TowardsZeroChecker(); //Act var result = towardsZeroChecker.CurrentValueIsBetterThanTargetValue(2, 4); //Assert Assert.IsTrue(result); }