public void AddImportsTest() { var sb = new ScriptBuilder(); sb.AddImports("System.Threading"); sb.AddImports("System.Text", "System.IO"); var(_, diagnostics) = sb.Build(CancellationToken.None); Assert.Empty(diagnostics); }
public void AddAssembliesTest() { var sb = new ScriptBuilder(); sb.AddAssemblies("System.Core"); sb.AddImports("System.Linq"); var(_, diagnostic) = sb.Build(CancellationToken.None); Assert.Empty(diagnostic); }