public void Test(string rawCodes, int[] expected) { var output = Part1.Run(Program.Parse(rawCodes)); output.ShouldBe(expected); }
// 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); }