コード例 #1
0
        public void TestDelLeftRotation(int[] input, int[] res, int val)
        {
            IDelete compare = new TTree();

            compare.Init(res);
            lst.Init(input);
            lst.DelLeftRotation(val);
            Assert.IsTrue(lst.Equal(compare));
            Assert.AreEqual(compare.Size(), lst.Size());
        }