public void Test_DoDays_New_OK(int days, long expected) { int len = TestData.Length; Assert.Equal(5, len); var sut = new LanternFishModeller(TestData); for (int day = 0; day < days; day++) { sut.DoDay2(); } long actual = sut.FishCount(); Assert.Equal(expected, actual); }
public void Day06_Puzzle2_OK() { int len = Data.Length; Assert.Equal(300, len); var sut = new LanternFishModeller(Data); for (int day = 0; day < 256; day++) { sut.DoDay2(); } long actual = sut.FishCount(); Assert.Equal(1732731810807, actual); }