public void SolveFirstPuzzle() { var sut = new AgeModel(REAL_AGES); sut.Advance(80); Assert.Equal(379114, sut.CountAllFishes()); }
public void SolveSecondPuzzle() { var sut = new AgeModel(REAL_AGES); sut.Advance(256); Assert.Equal(1702631502303, sut.CountAllFishes()); }
public void CalculateSpawnRateCorrectly_WhenSampleDataIsUsed(int days, long expectedFishes) { var sut = new AgeModel(SAMPLE_AGES); sut.Advance(days); Assert.Equal(expectedFishes, sut.CountAllFishes()); }