public void Grid_WithRealInput_ToString() { var grid = new RegionsGroupedByCoordinate(Input.Day06Parse(Input.Day06)); var asString = grid.ToString(); //File.AppendAllText(@"C:\Projects\adventofcode\2018\day06output.txt", asString); }
public void Puzzle1Example_GridPopulatesCorrectly() { var expectedOutside = new List <int> { -1, 0, 1, 2, 5 }; var grid = new RegionsGroupedByCoordinate(Input.Day06Parse(PuzzleExample)); Output.WriteLine(grid.ToString()); grid.Outside.Should().OnlyContain(x => expectedOutside.Contains(x)); }