public void ActiveWindowHandleNotNull() { var paw = new PositionActiveWindow(); var awt = paw.GetActiveWindowTitle(); Assert.NotNull(awt); }
public void ActiveWindowRectangleValid() { var paw = new PositionActiveWindow(); var awr = paw.GetActiveWindowRectangle(); Assert.IsType <int>(awr.Left); }
public void ScreenRectangleNotNull() { var paw = new PositionActiveWindow(); var sr = paw.GetScreenRectangle(); Assert.True(sr.Left >= 0); }
public void CenterActiveWindowPositionNoException() { var paw = new PositionActiveWindow(); paw.CenterActiveWindowPosition(); // using default parameter settings when none provided Assert.IsTrue(true); }