コード例 #1
0
        public void Should_Check_Get_Length()
        {
            //arrange
            int capacity = 5;
            var array    = new CircularArray <int>(capacity);

            //act
            var result = array.GetLength();

            //assert
            result.ShouldBeEquivalentTo(capacity);
        }