public void Day14_Example_01() { var input = @"mask = XXXXXXXXXXXXXXXXXXXXXXXXXXXXX1XXXX0X mem[8] = 11 mem[7] = 101 mem[8] = 0"; Assert.AreEqual(165, DockingData.Part1(input.Split(Environment.NewLine))); }
public void Day14_Full_Part1() { var data = TestUtil.GetFileContentsAsString("Day14.txt").Split(Environment.NewLine); Assert.AreEqual(14862056079561, DockingData.Part1(data)); }