Beispiel #1
0
        public void RequirementEight_PreviousFormat()
        {
            /// Arrange
            AddEvaluator evaluator = new AddEvaluator();
            var          input     = "2,5,3";

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

            /// Assert
            Assert.AreEqual(10, total);
        }
Beispiel #2
0
        public void RequirementEight_ManyAlternativeManyCharacterFormats()
        {
            /// Arrange
            AddEvaluator evaluator = new AddEvaluator();
            var          input     = "//[*][!!][r9r]\n11r9r22*33!!44";

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

            /// Assert
            Assert.AreEqual(110, total);
        }