コード例 #1
0
        public void Clear()
        {
            using MemoryGroup <int> group = this.CreateTestGroup(100, 10, true);
            group.Clear();

            var expectedRow = new int[10];

            foreach (Memory <int> memory in group)
            {
                Assert.True(memory.Span.SequenceEqual(expectedRow));
            }
        }