Esempio n. 1
0
        public void TestInput()
        {
            var data   = Day2InputParser.ParseCommands("input_data/day2-test.txt");
            var result = new SimpleSub().CalculatePosition(data);

            Assert.Equal((15, 10), result);
        }
Esempio n. 2
0
        public void PuzzelTwo()
        {
            var data   = Day2InputParser.ParseCommands("input_data/day2-1.txt");
            var result = new Sub().CalculatePosition(data);

            Assert.Equal((1996, 972980), result);
        }