public void rrRoot() { AVLtree <int> prac = new AVLtree <int>(); prac.Add(3); prac.Add(2); prac.Add(1); Assert.AreEqual(2, prac.Root.Value); }
public void rrLeft() { AVLtree <int> prac = new AVLtree <int>(); prac.Add(3); prac.Add(2); prac.Add(1); Assert.AreEqual(1, prac.Root.LeftChild.Value); }
public void lrrRight() { AVLtree <int> practice = new AVLtree <int>(); practice.Add(3); practice.Add(1); practice.Add(2); Assert.AreEqual(3, practice.Root.RightChild.Value); }
private Singleton() { orders = new DoubleLinkedList <PharmacyModel>(); inventory = new DoubleLinkedList <PharmacyModel>(); guide = new AVLtree <Drug>(); }