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

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