Esempio n. 1
0
 public void DeleteTest()
 {
     RBTree target = new RBTree(); // TODO: Initialize to an appropriate value
     RBTree.Node z = null; // TODO: Initialize to an appropriate value
     target.Delete(z);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
Esempio n. 2
0
        public RBTree BuildTree(TreeAssertData data)
        {
            RBTree tree = new RBTree();

            foreach (var key in data.input)
                tree.Insert(key);

            return tree;
        }
Esempio n. 3
0
 public void MaximumTest()
 {
     RBTree target = new RBTree(); // TODO: Initialize to an appropriate value
     RBTree.Node x = null; // TODO: Initialize to an appropriate value
     RBTree.Node expected = null; // TODO: Initialize to an appropriate value
     RBTree.Node actual;
     actual = target.Maximum(x);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }