public void SolvePart1() { var hc = new Honeycomb(); hc.FlipTiles(File.ReadAllLines("input.txt")); hc.CountBlackTiles().ShouldBe(0); }
public void TextOnExampleInput() { var hc = new Honeycomb(); hc.FlipTiles(example); hc.CountBlackTiles().ShouldBe(10); }
public void Flip1Tile() { var hc = new Honeycomb(); hc.FlipTile("e"); hc.CountBlackTiles().ShouldBe(1); }
public void CheckCoordinatesForSteps(string steps, int xpected, int ypected) { var hc = new Honeycomb(); var(x, y) = hc.MapCoordinates(steps); x.ShouldBe(xpected); y.ShouldBe(ypected); }
public void Test1() { var hc = new Honeycomb(); hc.CountBlackTiles().ShouldBe(0); }