public void PartOne() { var input = Helpers.FileHelper.ParseFile(InputFile); var controller = new ConwayController(input); controller.SimulateSteps(6); Assert.IsTrue(controller.NumActive == 293); }
public void PartTwo() { var input = Helpers.FileHelper.ParseFile(InputFile); var controller = new ConwayController(input, dimensions: 4); controller.SimulateSteps(6); Assert.IsTrue(controller.NumActive == 1816); }
public void Test_KnownCubes_4D() { var input = Helpers.FileHelper.ParseFile(TestFile); var controller = new ConwayController(input, dimensions: 4); controller.SimulateSteps(6); Assert.IsTrue(controller.NumActive == 848); }