예제 #1
0
        public void GuardProblem_Final_FindHash()
        {
            var guardProblem = new GuardProblem();

            var result = guardProblem.GetBestGuardHash(Day5Consts.Input1Path);

            Assert.Equal(115167, result);
        }
예제 #2
0
        public void GuardProblemOfAll_Final_FindHash()
        {
            var guardProblem = new GuardProblem();

            var result = guardProblem.GetBestGuardHashOfAll(Day5Consts.Input1Path);

            Assert.Equal(32070, result);
        }
예제 #3
0
        public void GuardProblem_Small_FindHash()
        {
            var guardProblem = new GuardProblem();

            var result = guardProblem.GetBestGuardHash(Day5Consts.Input1PathSmall);

            Assert.Equal(240, result);
        }