Esempio n. 1
0
        public void TotalBrightness(string input, int expectedOn)
        {
            var day6   = new Day6();
            var actual = day6.TotalBrightness(input);

            Assert.Equal(expectedOn, actual);
        }
Esempio n. 2
0
        public void TotalBrightnessActual()
        {
            var       input    = LoadFromResource.Load("AdventOfCode.Tests.TestData.Day6.txt");
            const int expected = 14687245;
            var       day6     = new Day6();

            var actual = day6.TotalBrightness(input);

            Assert.Equal(expected, actual);
        }