using System; using System.IO; using System.Threading.Tasks; using System.Windows; namespace ClassNotify.Turn105AcceptanceTests { public class Program { [STAThread] public static int Main(string[] args) { System.Windows.Media.RenderOptions.ProcessRenderMode = System.Windows.Interop.RenderMode.SoftwareOnly; var artifactDir = @"C:\Users\Administrator\.gemini\antigravity\brain\6a85e1d1-76c5-4355-a1fd-b02c82575fbe"; bool turn115Success = true; bool turn116Success = true; bool turn117Success = false; bool turn118Success = false; var staThreadTest = new System.Threading.Thread(() => { try { Console.WriteLine("\n>>> RUNNING TURN 115 ACCEPTANCE TESTS <<<"); Turn115DualStateAcceptance.RunAllTests(artifactDir); } catch (Exception ex) { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine($"Turn 115 Failed: {ex.Message}"); Console.ResetColor(); turn115Success = false; } try { Console.WriteLine("\n>>> RUNNING TURN 116 ACCEPTANCE TESTS <<<"); Turn116ZeroDisturbanceAcceptance.RunAllTests(artifactDir); } catch (Exception ex) { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine($"Turn 116 Failed: {ex.Message}"); Console.ResetColor(); turn116Success = false; } try { Console.WriteLine("\n>>> RUNNING TURN 117 ACCEPTANCE TESTS <<<"); turn117Success = Turn117DirectiveAcceptanceTests.RunAllTests(artifactDir); } catch (Exception ex) { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine($"Turn 117 Failed: {ex.Message}"); Console.ResetColor(); turn117Success = false; } try { Console.WriteLine("\n>>> RUNNING TURN 118 PHASE 1 ACCEPTANCE TESTS <<<"); turn118Success = Turn118Phase1AcceptanceTests.RunAllTests(artifactDir); } catch (Exception ex) { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine($"Turn 118 Failed: {ex.Message}"); Console.ResetColor(); turn118Success = false; } }); staThreadTest.SetApartmentState(System.Threading.ApartmentState.STA); staThreadTest.Start(); staThreadTest.Join(); bool overallSuccess = turn115Success && turn116Success && turn117Success && turn118Success; Console.WriteLine($"\n================================================================================"); Console.WriteLine($" OVERALL TEST SUITE RESULT: {(overallSuccess ? "ALL PASS" : "FAILED")}"); Console.WriteLine($" Turn 115: {(turn115Success ? "PASS" : "FAIL")}"); Console.WriteLine($" Turn 116: {(turn116Success ? "PASS" : "FAIL")}"); Console.WriteLine($" Turn 117: {(turn117Success ? "PASS" : "FAIL")}"); Console.WriteLine($" Turn 118 Phase 1: {(turn118Success ? "PASS" : "FAIL")}"); Console.WriteLine($"================================================================================"); return overallSuccess ? 0 : 1; } } }