Exemple #1
0
        public void CutString_Should_Return_Two_Correct_Numbers(string numbers, int expected1, int expected2)
        {
            // ARRANGE
            StringCalculator SUT = new StringCalculator();

            // EXECUTION
            var actual = SUT.CutString(numbers);

            // ASSERTION
            expected1.Should().Be(actual[0]);
            expected2.Should().Be(actual[1]);
        }