Ejemplo n.º 1
0
        public void TestContains()
        {
            var entries = new LogBufferList(Core.Columns.DeltaTime, Core.Columns.ElapsedTime, Core.Columns.RawContent);

            entries.Contains(Core.Columns.DeltaTime).Should().BeTrue();
            entries.Contains(Core.Columns.ElapsedTime).Should().BeTrue();
            entries.Contains(Core.Columns.RawContent).Should().BeTrue();
            entries.Contains(Core.Columns.LogLevel).Should().BeFalse("because we've not specified this column during construction");
            entries.Contains(Core.Columns.Timestamp).Should().BeFalse("because we've not specified this column during construction");
        }