Cadenza.Collections.Tests.EnumerableTest.AggregateReverseHistory_SF_SourceEmpty C# (CSharp) Метод

AggregateReverseHistory_SF_SourceEmpty() приватный Метод

private AggregateReverseHistory_SF_SourceEmpty ( ) : void
Результат void
		public void AggregateReverseHistory_SF_SourceEmpty ()
		{
			IEnumerable<int>  s = new int[]{};
			Func<int,int,int> f = (a,b) => a-b;
			// need .Apply() as check for empty source is delayed until enumeration.
			s.AggregateReverseHistory (f).Apply ();
		}
EnumerableTest