public void Puzzle2_FindGuardAsleepTheSameMinuteTheMost() { var log = new GuardLog(Input.Day04Parse(Input.Day04)); var(guard, minute, _) = log.Strategy2(); (guard * minute).Should().Be(5705); }
public void Puzzle2Example_LocateGuardWhoSleptTheMostDuringTheSameMinute() { var input = Input.Day04Parse(PuzzleExample); var log = new GuardLog(input); var(guard, minute, _) = log.Strategy2(); guard.Should().Be(99); minute.Should().Be(45); }