Ejemplo n.º 1
0
        public void RequirementFour_NegativeValuesNOTIncluded()
        {
            /// Arrange
            AddEvaluator evaluator = new AddEvaluator();
            var          input     = "1,3,4";

            /// Act
            var total = evaluator.RequirementFour(input);

            /// Assert
            Assert.AreEqual(8, total);
        }
Ejemplo n.º 2
0
        public void RequirementFour_NegativeValuesIncluded()
        {
            /// Arrange
            AddEvaluator evaluator = new AddEvaluator();
            var          input     = "-1,3,-4";

            /// Act
            var total = evaluator.RequirementFour(input);

            /// Assert
            Assert.Fail();
        }