public void Enumerable_Max_MoveNext_Crash_DelayErrors() { MaybeSource.Merge(new FailingEnumerable <IMaybeSource <int> >(false, true, false), true) .Test() .AssertFailure(typeof(InvalidOperationException)); }
public void Enumerable_Limited_GetEnumerator_Crash_DelayErrors() { MaybeSource.Merge(new FailingEnumerable <IMaybeSource <int> >(true, false, false), true, 1) .Test() .AssertFailure(typeof(InvalidOperationException)); }
public void Enumerable_Max_GetEnumerator_Crash() { MaybeSource.Merge(new FailingEnumerable <IMaybeSource <int> >(true, false, false)) .Test() .AssertFailure(typeof(InvalidOperationException)); }
public void Enumerable_Limited_MoveNext_Crash() { MaybeSource.Merge(new FailingEnumerable <IMaybeSource <int> >(false, true, false), maxConcurrency: 1) .Test() .AssertFailure(typeof(InvalidOperationException)); }