Fix formatting?

This commit is contained in:
Dean Herbert 2024-02-29 23:29:50 +08:00
parent cc8b838bd4
commit 59b9d29a79
No known key found for this signature in database
1 changed files with 5 additions and 4 deletions

View File

@ -130,11 +130,12 @@ public void TestRatePreservedWhenTimeNotProgressing()
} }
private void createStabilityContainer(double gameplayStartTime = double.MinValue) => AddStep("create container", () => private void createStabilityContainer(double gameplayStartTime = double.MinValue) => AddStep("create container", () =>
{
mainContainer.Child = new FrameStabilityContainer(gameplayStartTime) mainContainer.Child = new FrameStabilityContainer(gameplayStartTime)
{ {
AllowBackwardsSeeks = true, AllowBackwardsSeeks = true,
} }.WithChild(consumer = new ClockConsumingChild());
.WithChild(consumer = new ClockConsumingChild())); });
private void seekManualTo(double time) => AddStep($"seek manual clock to {time}", () => manualClock.CurrentTime = time); private void seekManualTo(double time) => AddStep($"seek manual clock to {time}", () => manualClock.CurrentTime = time);