Esempio n. 1
0
        public void Day06b()
        {
            var input  = File.ReadAllText(".\\Content\\Day06.txt");
            var output = AreaCalculator.GetSizeOfAreaSurroundedBy(input, 10000);

            output.Should().Be(39560);
        }
Esempio n. 2
0
        public void Day06b_Test()
        {
            var input  = "1, 1\r\n1, 6\r\n8, 3\r\n3, 4\r\n5, 5\r\n8, 9";
            var output = AreaCalculator.GetSizeOfAreaSurroundedBy(input, 32);

            output.Should().Be(16);
        }