Esempio n. 1
0
        public void AddDiagnostics_with_empty_list()
        {
            var compilation = new Compilation();

            compilation.AddDiagnostics(new Diagnostic[] { });

            Assert.That(compilation.HasErrors, Is.False);
            Assert.That(compilation.Diagnostics, Is.Empty);
        }