public void NU_AddStart_AListR(int[] ini, int val, int size, int[] exp)
        {
            AListR list = new AListR();

            list.Init(ini);
            list.AddStart(val);

            int[] act = list.ToArray();

            Assert.AreEqual(size, list.Size());
            CollectionAssert.AreEqual(exp, act);
        }
        public void IndMax_AListR()
        {
            AListR list = new AListR();

            list.Init(new int[] { 6 });
            for (int i = 5; i >= 0; i--)
            {
                list.AddStart(i);
            }
            int act = list.IndMax();

            Assert.AreEqual(6, act);
        }
        public void AddStart_AListR()
        {
            AListR list = new AListR();

            list.Init(new int[] { 1, 2, 3, 4, 5, 6, 7, 8, 9 });
            list.AddStart(0);

            int[] act = list.ToArray();
            int[] exp = new int[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };

            Assert.AreEqual(10, list.Size());
            CollectionAssert.AreEqual(exp, act);
        }
        public void NU_IndMax_AListR(int[] ini, int exp)
        {
            AListR list = new AListR();

            list.Init(ini);
            for (int i = 5; i >= 0; i--)
            {
                list.AddStart(i);
            }
            int act = list.IndMax();

            Assert.AreEqual(exp, act);
        }
        public void NU_ToString_AListR(int[] ini, string exp)
        {
            AListR list = new AListR();

            list.Init(ini);
            for (int i = 5; i >= 0; i--)
            {
                list.AddStart(i);
            }
            string act = list.ToString();

            Assert.AreEqual(exp, act);
        }
        public void ToString_AListR()
        {
            AListR list = new AListR();

            list.Init(new int[] { 6 });
            for (int i = 5; i >= 0; i--)
            {
                list.AddStart(i);
            }
            string act = list.ToString();
            string exp = "0 1 2 3 4 5 6";

            Assert.AreEqual(exp, act);
        }