Example #1
0
        public void PerformSimulations_ShouldReturnExpectedResult(
            string input,
            string expectedOutput)
        {
            var program = new Program();

            var inputLines = input.Split('|');
            var expectedOutputLines = expectedOutput.Split('|');

            var outputLines = program
                .PerformSimulations(inputLines)
                .ToArray();

            outputLines
                .Should()
                .Equal(expectedOutputLines);
        }