public static bool PumpTest(string name) { if (name == "tp") { return(TPPump()); } if (name == "dele") { return(DelePump()); } if (name == "gc") { return(GcPump()); } if (testRunner == null) { return(false); } try { bool res = testRunner.Step(); if (!res) { testRunner = null; } return(res); } catch (Exception e) { Console.WriteLine(e); return(true); } }
public static bool PumpTest() { if (testRunner == null) { return(false); } try { bool res = testRunner.Step(); if (!res) { testRunner = null; } return(res); } catch (Exception e) { Console.WriteLine(e); return(true); } }