示例#1
0
        public void Test1(string inputFile, int expected)
        {
            var input  = Program.Read(inputFile);
            var output = Part2.Run(input);

            output.ShouldBe(expected);
        }
示例#2
0
    public static void Main()
    {
        Part1.Run();
        Part2.Run();

        Console.ReadKey();
    }
    static async System.Threading.Tasks.Task Main(string[] args)
    {
        //Part 1
        Console.WriteLine("===PART 1===");
        await Part1.Run(args);

        //Part 2
        Console.WriteLine("===PART 2===");
        await Part2.Run(args);
    }