System.Linq.Tests.WhereTests.SameResultsRepeatCallsIntQuery C# (CSharp) Method

SameResultsRepeatCallsIntQuery() private method

private SameResultsRepeatCallsIntQuery ( ) : void
return void
        public void SameResultsRepeatCallsIntQuery()
        {
            var q = from x in new[] { 9999, 0, 888, -1, 66, -777, 1, 2, -12345 }
                    where x > Int32.MinValue
                    select x;

            Assert.Equal(q.Where(IsEven), q.Where(IsEven));

        }
WhereTests