Esempio n. 1
0
        public static void Main()
        {
            try
            {
                Console.WriteLine(Task1.Solve(ReadFile("input.txt")));
                Task2.Solve(ReadFile("input.txt"));
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex);
            }

            Console.WriteLine("...");
            Console.ReadLine();
        }
Esempio n. 2
0
        public void Solve(string input, int expected)
        {
            var actual = Task1.Solve(new[] { input }, 3, 2);

            Assert.AreEqual(expected, actual);
        }