Esempio n. 1
0
        public void Should_Return_String_With_Expected_Sum_Of_Numbers_In_Provided_Input(string input, int expectedSum)
        {
            var result = SUT.Execute(input);

            var returnString = $"Sum of all numbers in input: {expectedSum}";

            Assert.AreEqual(returnString, result);
        }
Esempio n. 2
0
        public void SumPluginShouldReturnNumberOfLettersInInput(string input, string expected)
        {
            var output = sut.Execute(input);

            Assert.Equal(expected, output);
        }