src/GenFx.Components.Tests/TreeNodeCollectionTest.cs
/// <summary>
/// Tests that the ctor initializes the state correctly.
/// </summary>
Tests that the ctor initializes the state correctly.
Tests that the ctor initializes the state correctly .
[Fact]
        public void TreeNodeCollection_Ctor()
        {
            TreeNodeCollection collection = new TreeNodeCollection();
            Assert.Empty(collection);
            Assert.False(collection.IsReadOnly);
            collection = new TreeNodeCollection(3);
            Assert.Equal(3, collection.Count);
            Assert.False(collection.IsReadOnly);
        }
[ Fact ] public void TreeNodeCollection_Ctor ( ) { TreeNodeCollection collection = new TreeNodeCollection ( ) ; Assert . Empty ( collection ) ; Assert . False ( collection . IsReadOnly ) ; collection = new TreeNodeCollection ( 3 ) ; Assert . Equal ( 3 , collection . Count ) ; Assert . False ( collection . IsReadOnly ) ; }
Tests that the ctor initializes the state correctly.
Tests that the ctor initializes the state correctly .