public void TestConstruction2([Values(1, 2, 5, 10, 42, 100, 9001)] int count) { var buffer = new LogEntryBuffer(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 LogEntryBuffer(count, new List <ILogFileColumn> { LogFileColumns.RawContent, LogFileColumns.DeltaTime }); buffer.Columns.Should().Equal(new object[] { LogFileColumns.RawContent, LogFileColumns.DeltaTime }); buffer.Count.Should().Be(count); buffer.Should().HaveCount(count); }