public void Puzzle_14A() { var init = new DockingProgramInitializerV1 { Program = PuzzleInputs.Puzzle14 }; init.Execute(); Assert.Equal(6559449933360, init.SumNonZeroMemory()); }
public void Example_1() { var program = new[] { "mask = XXXXXXXXXXXXXXXXXXXXXXXXXXXXX1XXXX0X", "mem[8] = 11", "mem[7] = 101", "mem[8] = 0" }; var init = new DockingProgramInitializerV1 { Program = program }; init.Execute(); Assert.Equal(165, init.SumNonZeroMemory()); }