public void PuzzelTwo() { var fish = InputParser.ParseDelimited("input_data/day6-1.txt"); var school = new LaternFishSchool(fish); for (int i = 0; i < 256; i++) { school.SimulateDay(); } Assert.Equal(1765974267455, school.SchoolSize()); }
public void TestInput() { var fish = InputParser.ParseDelimited("input_data/day6-test.txt"); var school = new LaternFishSchool(fish); for (int i = 0; i < 80; i++) { school.SimulateDay(); } Assert.Equal(5934, school.SchoolSize()); }
public void PuzzelOne() { var fish = InputParser.ParseDelimited("input_data/day6-1.txt"); var school = new LaternFishSchool(fish); for (int i = 0; i < 80; i++) { school.SimulateDay(); } Assert.Equal(394994, school.SchoolSize()); }