public void On_Tick_calls_delta_seconds_provider_x_entity() { AddEntitiesToListEntityList(23); nextDeltaSeconds = 5f; deltaSecondsIncrement = 3f; float expectedAcummulatedSeconds = nextDeltaSeconds; for (var i = 1; i < 23; i++) { expectedAcummulatedSeconds += nextDeltaSeconds + deltaSecondsIncrement * i; } processor = new TickableProcessorSpy(repository, incrementalDeltaSecondsProvider); processor.Tick(); Assert.That(processor.AccumulatedDelta, Is.EqualTo(expectedAcummulatedSeconds)); }