示例#1
0
 public void TowardsHundredCheckerReturnsTrueIfcurrentIsmorehanTargetplusWarning()
 {
     //Arrange
     var towardsHundredChecker = new TowardsHundredChecker();
     //Act
     var result = towardsHundredChecker.CurrentValueIsBetterThanTargetValueAndWarning(10, 5, 3);
     //Assert
     Assert.IsTrue(result);
 }
示例#2
0
        public void TowardsHUndredAndCheckerReturnsTrueIfCurrentIsHigherThanTarget()
        {
            //Arrange
            var towardsHundredChecker = new TowardsHundredChecker();

            //Act
            var result = towardsHundredChecker.CurrentValueIsBetterThanTargetValue(4, 2);
            //Assert
            Assert.IsTrue(result);
        }