Esempio n. 1
0
        public void TestSkipWhileIndexed()
        {
            IEnumerable <int> actual   = Partitioning.SkipWhileIndexed();
            IEnumerable <int> expected = new int[] { 1, 3, 9, 8, 6, 7, 2, 0 };

            CollectionAssert.AreEqual(actual.ToList(), expected.ToList(), "You failed!");
        }