using Terminal.Gui; namespace TerminalGuiFluentTesting; /// /// Entry point to fluent assertions. /// public static class With { /// /// Entrypoint to fluent assertions /// /// /// /// Which v2 v2TestDriver to use for the test /// public static GuiTestContext A (int width, int height, V2TestDriver v2TestDriver = V2TestDriver.V2Win) where T : Toplevel, new () { return new (() => new T (), width, height,v2TestDriver); } /// /// The global timeout to allow for any given application to run for before shutting down. /// public static TimeSpan Timeout { get; set; } = TimeSpan.FromSeconds (30); }