Slide 15
Slide 15 text
/**
Creates a new test scheduler.
- parameter initialClock: Initial value for the clock.
- parameter resolution: Real time [NSTimeInterval] = ticks * resolution
- parameter simulateProcessingDelay: When true, if something is scheduled
right `now`,
it will be scheduled to `now + 1` in virtual time.
*/
public init(initialClock: TestTime,
resolution: Double = 1.0,
simulateProcessingDelay: Bool = true) {
_simulateProcessingDelay = simulateProcessingDelay
super.init(initialClock: initialClock,
converter:
TestSchedulerVirtualTimeConverter(resolution: resolution))
}
IUUQTHJUIVCDPN3FBDUJWF93Y4XJGUCMPC3Y5FTU4DIFEVMFST
5FTU4DIFEVMFSTXJGU