Beispiel #1
0
        public void ReduceDeductions()
        {
            var input      = File.ReadAllText("C:\\Code\\aoc2018\\aoc2018\\Data\\input16.txt");
            var deductions = Day16.Deductions(input);

            Day16.ReduceDeductions(deductions);
        }
Beispiel #2
0
        public void GetDeductions()
        {
            var input      = File.ReadAllText("C:\\Code\\aoc2018\\aoc2018\\Data\\input16.txt");
            var deductions = Day16.Deductions(input);

            foreach (var deduction in deductions)
            {
                _output.WriteLine(deduction.Key + " " + string.Join(",", deduction.Value));
            }
        }