public void TestInput() { var segments = Day5InputParser.ParseSegments("input_data/day5-test.txt"); var g = new Grid(10); g.LoadHVLineSegments(segments); Assert.Equal(5, g.CountOverlaps()); }
public void PuzzelTwo() { var segments = Day5InputParser.ParseSegments("input_data/day5-1.txt"); var g = new Grid(1000); g.LoadLineSegments(segments); Assert.Equal(21698, g.CountOverlaps()); }