Exemplo n.º 1
0
 public void DeleteMaxTest()
 {
     CreateTree();
     Assert.AreEqual(int.MaxValue, m_tree.DeleteMax());
     Assert.AreEqual(5, m_tree.DeleteMax());
     Assert.AreEqual(0, m_tree.DeleteMax());
     Assert.AreEqual(-999, m_tree.DeleteMax());
 }