namespace Ariadne.Generator.UnitTests { class Program { // Roslyn's first compile spends hundreds of milliseconds JIT-compiling the compiler itself. // Paying that in the warm-up keeps it off whichever test runs first. private const string WarmUpScript = @" public partial class WarmUp : Arc { protected override void Run(World world) { wait: while (!world.Open.Contains(""go"")) { Yield(); } } }"; static int Main(string[] args) { return UnitTestSharp.TestRunner.RunAllTests(() => GeneratorRun.Of(WarmUpScript)); } } }