예제 #1
0
        public void Test(string rawCodes, int[] expected)
        {
            var output = Part1.Run(Program.Parse(rawCodes));

            output.ShouldBe(expected);
        }
예제 #2
0
        // ReSharper disable once InconsistentNaming
        public void With_Input_X_Answer_Is_Y(string input, int expectedAnswer)
        {
            var actualAnswer = Part1.CalculateAnswer(input);

            Assert.Equal(actualAnswer, expectedAnswer);
        }