using System.Diagnostics;
using System.IO;
// Alias Console to MockConsole so we don't accidentally use Console
namespace Terminal.Gui.ApplicationTests;
/// Tests MainLoop using the FakeMainLoop.
public class MainLoopTests
{
private static readonly ManualResetEventSlim _wakeUp = new (false);
private static Button btn;
private static string cancel;
private static string clickMe;
private static int four;
private static int one;
private static string pewPew;
private static bool taskCompleted;
// TODO: EventsPending tests
// - wait = true
// - wait = false
// TODO: Add IMainLoop tests
private static volatile int tbCounter;
private static int three;
private static int total;
private static int two;
private static int zero;
public static IEnumerable