public void turn_on_first_line_of_lights_then_turn_off_middle_200()
 {
     var instruction1 = AOC_2015_Day06_Answer.ParseInstruction("toggle 0,0 through 999,0");
     var instruction2 = AOC_2015_Day06_Answer.ParseInstruction("toggle 400,0 through 599,0");
     var answer = AOC_2015_Day06_Answer.CalculateLitLights(new[] { instruction1, instruction2 });
     answer.Should().Be(800);
 }
 public void turn_on_first_line_of_lights()
 {
     var input = "toggle 0,0 through 999,0";
     var parsedInput = AOC_2015_Day06_Answer.ParseInstruction(input);
     var answer = AOC_2015_Day06_Answer.CalculateLitLights(new[] { parsedInput });
     answer.Should().Be(1000);
 }
 public void AOC_2015_Day06a()
 {
     var input = File.ReadAllText(".//Content//Day06.txt")
                     .Split(Environment.NewLine)
                     .Select(x => AOC_2015_Day06_Answer.ParseInstruction(x))
                     .ToArray();
     var answer = AOC_2015_Day06_Answer.CalculateLitLights(input);
     answer.Should().Be(377891);
 }