Exemple #1
0
        public void Part1()
        {
            var day    = new Day4(TestDataPart1);
            var result = day.CountValidPassportsLax();

            Assert.Equal(2, result);
        }
Exemple #2
0
        public async Task Part1DataAsync()
        {
            var forestData = await FileHelper.GetInputAsText(Day);

            var day    = new Day4(forestData);
            var result = day.CountValidPassportsLax();

            _output.WriteLine(result.ToString());
        }