public void TestConstruction2([Values(1, 2, 5, 10, 42, 100, 9001)] int count) { var buffer = new LogBufferArray(count); buffer.Columns.Should().BeEmpty(); buffer.Count.Should().Be(count); buffer.Should().HaveCount(count); }
public void TestConstruction3([Values(1, 2, 5, 10, 42, 100, 9001)] int count) { var buffer = new LogBufferArray(count, new List <IColumnDescriptor> { Core.Columns.RawContent, Core.Columns.DeltaTime }); buffer.Columns.Should().Equal(new object[] { Core.Columns.RawContent, Core.Columns.DeltaTime }); buffer.Count.Should().Be(count); buffer.Should().HaveCount(count); }