public void Part1() { var answer = Day14.Part1(); answer.Should().NotBe(11934551314989L); answer.Should().BeLessThan(11934551314989L); answer.Should().Be(11926135976176L); }
public void Part1Example() { var input = @"mask = XXXXXXXXXXXXXXXXXXXXXXXXXXXXX1XXXX0X mem[8] = 11 mem[7] = 101 mem[8] = 0"; Day14.Part1(input).Should().Be(165); var input2 = @"mask = 01101X001X111X010X0000X1001X010XX0X0 mem[4841] = 3942"; Day14.Part1(input2).Should().Be(28111278914); }