Esempio n. 1
0
        public void SuperZiptest()
        {
            SuperList <int> superlist = new SuperList <int>()
            {
                1, 3, 5
            };
            SuperList <int> superadd = new SuperList <int>()
            {
                2, 4, 6
            };
            SuperList <int> superresult = superlist.Zip(superlist, superadd);
            SuperList <int> expected    = new SuperList <int>()
            {
                1, 2, 3, 4, 5, 6
            };

            for (int i = 0; i < superresult.Count; i++)
            {
                Assert.AreEqual(superresult[i], expected[i]);
            }
        }