src/GenFx.Components.Tests/BinaryTreeNodeTest.cs
/// <summary>
/// Tests that the constructor initializes the state correctly.
/// </summary>
Tests that the constructor initializes the state correctly.
Tests that the constructor initializes the state correctly .
[Fact]
        public void BinaryTreeNode_Ctor()
        {
            BinaryTreeNode<int> node = new BinaryTreeNode<int>();
            Assert.Equal(2, node.ChildNodes.Count);
            Assert.Null(node.ChildNodes[0]);
            Assert.Null(node.ChildNodes[1]);
            Assert.Null(node.LeftChildNode);
            Assert.Null(node.RightChildNode);
        }
[ Fact ] public void BinaryTreeNode_Ctor ( ) { BinaryTreeNode < int > node = new BinaryTreeNode < int > ( ) ; Assert . Equal ( 2 , node . ChildNodes . Count ) ; Assert . Null ( node . ChildNodes [ 0 ] ) ; Assert . Null ( node . ChildNodes [ 1 ] ) ; Assert . Null ( node . LeftChildNode ) ; Assert . Null ( node . RightChildNode ) ; }
Tests that the constructor initializes the state correctly.
Tests that the constructor initializes the state correctly .