public void Tick_WhenGivenTestPlant_ShouldIncreaseSize() { for (uint i = 0; i < 10; i++) { var snapshot = new SimulationStateSnapshot(i); runner.Tick(snapshot); } var stem = plant.ShootSystem.Stem; foreach (var cell in stem.Cells) { Assert.True(cell.Geometry.TopCenter.Y > 0, "The cell did not grow"); } }
private void Tick() { logger.LogDebug("Ticking..."); plantRunner.Tick(new SimulationStateSnapshot(TickCount)); }