public void Regular_Infinite_InitialDelay() { ObservableSource.Interval(TimeSpan.FromMilliseconds(10), TimeSpan.FromMilliseconds(1), ThreadPoolScheduler.Instance) .Take(10) .Test() .AwaitDone(TimeSpan.FromSeconds(5)) .AssertResult(0, 1, 2, 3, 4, 5, 6, 7, 8, 9); }
public void Fused_Rejected() { ObservableSource.Interval(TimeSpan.FromMilliseconds(1), ThreadPoolScheduler.Instance) .Test(fusionMode: FusionSupport.Sync) .AssertFuseable() .AssertFusionMode(FusionSupport.None) .Dispose(); }