public void Day06Part1() { var lights = new bool[1000, 1000]; Day06.ParseLine("turn on 0,0 through 999,999", ref lights); var result1 = Day06.Count(lights, true); Assert.IsTrue(result1 == 1000000); Day06.ParseLine("toggle 0,0 through 999,0", ref lights); var result2 = Day06.Count(lights, true); Assert.IsTrue(result2 == 999000); Day06.ParseLine("turn off 499,499 through 500,500", ref lights); var result3 = Day06.Count(lights, true); Assert.IsTrue(result3 == 999000 - 4); }