示例#1
0
        public void TestTakeWhile()
        {
            IEnumerable <int> actual   = Partitioning.TakeWhile();
            IEnumerable <int> expected = new int[] { 5, 4, 1, 3 };

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