Exemplo n.º 1
0
        public void TestTakeWhileIndexed()
        {
            IEnumerable <int> actual   = Partitioning.TakeWhileIndexed();
            IEnumerable <int> expected = new int[] { 5, 4 };

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