示例#1
0
        public void ReturnsStringGiven1000()
        {
            var solver = new Solver1();

            var result = solver.Solve();

            // TODO: Uncomment and verify
            Assert.Equal("233168", result);
        }
示例#2
0
        public void Solver1(string example)
        {
            var content = example.ReadFromFile();
            var solver  = new Solver1();
            var input   = Input.Parse(content);
            var output  = solver.Solve(input);

            Console.WriteLine($"Total Score: {output.GetScore(input):N0}");
            example.WriteToFile(output.GetOutputFormat());
            Assert.Pass();
        }