test/testautomation_mouse.c
changeset 11275 6dd70238edb7
parent 7191 75360622e65f
     1.1 --- a/test/testautomation_mouse.c	Sun Aug 13 21:12:14 2017 -0700
     1.2 +++ b/test/testautomation_mouse.c	Sun Aug 13 21:15:44 2017 -0700
     1.3 @@ -447,11 +447,23 @@
     1.4  {
     1.5      const int w = MOUSE_TESTWINDOW_WIDTH, h = MOUSE_TESTWINDOW_HEIGHT;
     1.6      int numPositions = 6;
     1.7 -    int xPositions[] = {-1, 0, 1, w-1, w, w+1 };
     1.8 -    int yPositions[] = {-1, 0, 1, h-1, h, h+1 };
     1.9 +    int xPositions[6];
    1.10 +    int yPositions[6];
    1.11      int x, y, i, j;
    1.12      SDL_Window *window;
    1.13  
    1.14 +    xPositions[0] = -1;
    1.15 +    xPositions[1] = 0;
    1.16 +    xPositions[2] = 1;
    1.17 +    xPositions[3] = w-1;
    1.18 +    xPositions[4] = w;
    1.19 +    xPositions[5] = w+1;
    1.20 +    yPositions[0] = -1;
    1.21 +    yPositions[1] = 0;
    1.22 +    yPositions[2] = 1;
    1.23 +    yPositions[3] = h-1;
    1.24 +    yPositions[4] = h;
    1.25 +    yPositions[5] = h+1;
    1.26      /* Create test window */
    1.27      window = _createMouseSuiteTestWindow();
    1.28      if (window == NULL) return TEST_ABORTED;