Esempio n. 1
0
        public void Day14_Example_02()
        {
            var input = @"mask = 000000000000000000000000000000X1001X
mem[42] = 100
mask = 00000000000000000000000000000000X0XX
mem[26] = 1";

            Assert.AreEqual(208, DockingData.Part2(input.Split(Environment.NewLine)));
        }
Esempio n. 2
0
        public void Day14_Full_Part2()
        {
            var data = TestUtil.GetFileContentsAsString("Day14.txt").Split(Environment.NewLine);

            Assert.AreEqual(3296185383161, DockingData.Part2(data));
        }