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()); }
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()); }