public void ToString_RootRight() { RedBlackNode <int> node = new RedBlackNode <int>(50) { Right = new RedBlackNode <int>(75), }; Assert.AreEqual <string>("50,Red; Left=null; Right=75", node.ToString()); }
public void ToString_RootRight() { RedBlackNode<int> node = new RedBlackNode<int>(50) { Right = new RedBlackNode<int>(75), }; Assert.AreEqual<string>("50,Red; Left=null; Right=75", node.ToString()); }