예제 #1
0
        public void CountPropertyReturnsNodesCount()
        {
            // Arrange
            string[] values = ManyStrings;
            _ = _list.AddRangeToEnd(values).ToArray();
            int expectedCount = values.Length;

            // Act
            var actualCount = _list.Count;

            // Assert
            actualCount
            .Should().Be(expectedCount);
        }