Esempio n. 1
0
        public void TestExample1()
        {
            var solution = new Solutions.Day10();

            int result = solution.GetJoltProduct("Day10/Example1.txt");

            Assert.AreEqual(35, result);
        }
Esempio n. 2
0
        public void TestExample4()
        {
            var solution = new Solutions.Day10();

            long result = solution.CountValidArrangements("Day10/Example2.txt");

            Assert.AreEqual(19208, result);
        }
Esempio n. 3
0
        public void TestSolution2()
        {
            var solution = new Solutions.Day10();

            long result = solution.CountValidArrangements("Day10/Input.txt");

            Assert.AreEqual(37024595836928, result);
        }
Esempio n. 4
0
        public void TestSolution1()
        {
            var solution = new Solutions.Day10();

            int result = solution.GetJoltProduct("Day10/Input.txt");

            Assert.AreEqual(2277, result);
        }