test/testautomation_sdltest.c
changeset 6872 2f4c95464651
parent 6839 2494f667555c
child 6875 6c446c82c583
     1.1 --- a/test/testautomation_sdltest.c	Tue Feb 12 17:07:21 2013 -0800
     1.2 +++ b/test/testautomation_sdltest.c	Tue Feb 12 22:23:42 2013 -0800
     1.3 @@ -50,7 +50,7 @@
     1.4    result = (Sint64)SDLTest_RandomUint8();
     1.5    umax = (1 << 8) - 1;
     1.6    SDLTest_AssertPass("Call to SDLTest_RandomUint8");
     1.7 -  SDLTest_AssertCheck(result >= 0 && result <= umax, "Verify result value, expected: [0,%llu], got: %lld", umax, result);
     1.8 +  SDLTest_AssertCheck(result >= 0 && result <= (Sint64)umax, "Verify result value, expected: [0,%llu], got: %lld", umax, result);
     1.9  
    1.10    result = (Sint64)SDLTest_RandomSint8();
    1.11    min = 1 - (1 << 7);
    1.12 @@ -61,7 +61,7 @@
    1.13    result = (Sint64)SDLTest_RandomUint16();
    1.14    umax = (1 << 16) - 1;
    1.15    SDLTest_AssertPass("Call to SDLTest_RandomUint16");
    1.16 -  SDLTest_AssertCheck(result >= 0 && result <= umax, "Verify result value, expected: [0,%llu], got: %lld", umax, result);
    1.17 +  SDLTest_AssertCheck(result >= 0 && result <= (Sint64)umax, "Verify result value, expected: [0,%llu], got: %lld", umax, result);
    1.18  
    1.19    result = (Sint64)SDLTest_RandomSint16();
    1.20    min = 1 - (1 << 15);
    1.21 @@ -72,18 +72,7 @@
    1.22    result = (Sint64)SDLTest_RandomUint32();
    1.23    umax = ((Uint64)1 << 32) - 1;
    1.24    SDLTest_AssertPass("Call to SDLTest_RandomUint32");
    1.25 -  SDLTest_AssertCheck(result >= 0 && result <= umax, "Verify result value, expected: [0,%llu], got: %lld", umax, result);
    1.26 -
    1.27 -  result = (Sint64)SDLTest_RandomSint32();
    1.28 -  min = 1 - ((Sint64)1 << 31);
    1.29 -  max =     ((Sint64)1 << 31) - 1;
    1.30 -  SDLTest_AssertPass("Call to SDLTest_RandomSint32");
    1.31 -  SDLTest_AssertCheck(result >= min && result <= max, "Verify result value, expected: [%lld,%lld], got: %lld", min, max, result);
    1.32 -
    1.33 -  result = (Sint64)SDLTest_RandomUint32();
    1.34 -  umax = ((Uint64)1 << 32) - 1;
    1.35 -  SDLTest_AssertPass("Call to SDLTest_RandomUint32");
    1.36 -  SDLTest_AssertCheck(result >= 0 && result <= umax, "Verify result value, expected: [0,%llu], got: %lld", umax, result);
    1.37 +  SDLTest_AssertCheck(result >= 0 && result <= (Sint64)umax, "Verify result value, expected: [0,%llu], got: %lld", umax, result);
    1.38  
    1.39    result = (Sint64)SDLTest_RandomSint32();
    1.40    min = 1 - ((Sint64)1 << 31);
    1.41 @@ -115,6 +104,887 @@
    1.42    return TEST_COMPLETED;
    1.43  }
    1.44  
    1.45 +/*
    1.46 + * @brief Calls to random boundary number generators for Uint8
    1.47 + */
    1.48 +int
    1.49 +sdltest_randomBoundaryNumberUint8(void *arg)
    1.50 +{
    1.51 +  const char *expectedError = "That operation is not supported";
    1.52 +  char *lastError;
    1.53 +  Uint64 uresult;
    1.54 +
    1.55 +  /* Clean error messages */
    1.56 +  SDL_ClearError();
    1.57 +  SDLTest_AssertPass("SDL_ClearError()");
    1.58 +
    1.59 +  /* RandomUintXBoundaryValue(10, 10, SDL_TRUE) returns 10 */
    1.60 +  uresult = (Uint64)SDLTest_RandomUint8BoundaryValue(10, 10, SDL_TRUE);
    1.61 +  SDLTest_AssertPass("Call to SDLTest_RandomUint8BoundaryValue");
    1.62 +  SDLTest_AssertCheck(
    1.63 +    uresult == 10,
    1.64 +    "Validate result value for parameters (10,10,SDL_TRUE); expected: 10, got: %lld", uresult);  
    1.65 +
    1.66 +  /* RandomUintXBoundaryValue(10, 11, SDL_TRUE) returns 10, 11 */
    1.67 +  uresult = (Uint64)SDLTest_RandomUint8BoundaryValue(10, 11, SDL_TRUE);
    1.68 +  SDLTest_AssertPass("Call to SDLTest_RandomUint8BoundaryValue");
    1.69 +  SDLTest_AssertCheck(
    1.70 +    uresult == 10 || uresult == 11,
    1.71 +    "Validate result value for parameters (10,11,SDL_TRUE); expected: 10|11, got: %lld", uresult);  
    1.72 +
    1.73 +  /* RandomUintXBoundaryValue(10, 12, SDL_TRUE) returns 10, 11, 12 */
    1.74 +  uresult = (Uint64)SDLTest_RandomUint8BoundaryValue(10, 12, SDL_TRUE);
    1.75 +  SDLTest_AssertPass("Call to SDLTest_RandomUint8BoundaryValue");
    1.76 +  SDLTest_AssertCheck(
    1.77 +    uresult == 10 || uresult == 11 || uresult == 12,
    1.78 +    "Validate result value for parameters (10,12,SDL_TRUE); expected: 10|11|12, got: %lld", uresult);  
    1.79 +
    1.80 +  /* RandomUintXBoundaryValue(10, 13, SDL_TRUE) returns 10, 11, 12, 13 */
    1.81 +  uresult = (Uint64)SDLTest_RandomUint8BoundaryValue(10, 13, SDL_TRUE);
    1.82 +  SDLTest_AssertPass("Call to SDLTest_RandomUint8BoundaryValue");
    1.83 +  SDLTest_AssertCheck(
    1.84 +    uresult == 10 || uresult == 11 || uresult == 12 || uresult == 13,
    1.85 +    "Validate result value for parameters (10,13,SDL_TRUE); expected: 10|11|12|13, got: %lld", uresult);  
    1.86 +
    1.87 +  /* RandomUintXBoundaryValue(10, 20, SDL_TRUE) returns 10, 11, 19 or 20 */
    1.88 +  uresult = (Uint64)SDLTest_RandomUint8BoundaryValue(10, 20, SDL_TRUE);
    1.89 +  SDLTest_AssertPass("Call to SDLTest_RandomUint8BoundaryValue");
    1.90 +  SDLTest_AssertCheck(
    1.91 +    uresult == 10 || uresult == 11 || uresult == 19 || uresult == 20,
    1.92 +    "Validate result value for parameters (10,20,SDL_TRUE); expected: 10|11|19|20, got: %lld", uresult);  
    1.93 +
    1.94 +  /* RandomUintXBoundaryValue(20, 10, SDL_TRUE) returns 10, 11, 19 or 20 */
    1.95 +  uresult = (Uint64)SDLTest_RandomUint8BoundaryValue(20, 10, SDL_TRUE);
    1.96 +  SDLTest_AssertPass("Call to SDLTest_RandomUint8BoundaryValue");
    1.97 +  SDLTest_AssertCheck(
    1.98 +    uresult == 10 || uresult == 11 || uresult == 19 || uresult == 20,
    1.99 +    "Validate result value for parameters (20,10,SDL_TRUE); expected: 10|11|19|20, got: %lld", uresult);  
   1.100 +
   1.101 +  /* RandomUintXBoundaryValue(1, 20, SDL_FALSE) returns 0, 21 */
   1.102 +  uresult = (Uint64)SDLTest_RandomUint8BoundaryValue(1, 20, SDL_FALSE);
   1.103 +  SDLTest_AssertPass("Call to SDLTest_RandomUint8BoundaryValue");
   1.104 +  SDLTest_AssertCheck(
   1.105 +    uresult == 0 || uresult == 21,
   1.106 +    "Validate result value for parameters (1,20,SDL_FALSE); expected: 0|21, got: %lld", uresult);  
   1.107 +            
   1.108 +  /* RandomUintXBoundaryValue(0, 99, SDL_FALSE) returns 100 */
   1.109 +  uresult = (Uint64)SDLTest_RandomUint8BoundaryValue(0, 99, SDL_FALSE);
   1.110 +  SDLTest_AssertPass("Call to SDLTest_RandomUint8BoundaryValue");
   1.111 +  SDLTest_AssertCheck(
   1.112 +    uresult == 100,
   1.113 +    "Validate result value for parameters (0,99,SDL_FALSE); expected: 100, got: %lld", uresult);  
   1.114 +
   1.115 +  /* RandomUintXBoundaryValue(1, 0xff, SDL_FALSE) returns 0 (no error) */
   1.116 +  uresult = (Uint64)SDLTest_RandomUint8BoundaryValue(1, 255, SDL_FALSE);
   1.117 +  SDLTest_AssertPass("Call to SDLTest_RandomUint8BoundaryValue");
   1.118 +  SDLTest_AssertCheck(
   1.119 +    uresult == 0,
   1.120 +    "Validate result value for parameters (1,255,SDL_FALSE); expected: 0, got: %lld", uresult);
   1.121 +  lastError = (char *)SDL_GetError();
   1.122 +  SDLTest_AssertPass("SDL_GetError()");
   1.123 +  SDLTest_AssertCheck(lastError == NULL || SDL_strlen(lastError) == 0, "Validate no error message was set");
   1.124 +
   1.125 +  /* RandomUintXBoundaryValue(0, 0xfe, SDL_FALSE) returns 0xff (no error) */
   1.126 +  uresult = (Uint64)SDLTest_RandomUint8BoundaryValue(0, 254, SDL_FALSE);
   1.127 +  SDLTest_AssertPass("Call to SDLTest_RandomUint8BoundaryValue");
   1.128 +  SDLTest_AssertCheck(
   1.129 +    uresult == 0xff,
   1.130 +    "Validate result value for parameters (0,254,SDL_FALSE); expected: 0xff, got: %lld", uresult);
   1.131 +  lastError = (char *)SDL_GetError();
   1.132 +  SDLTest_AssertPass("SDL_GetError()");
   1.133 +  SDLTest_AssertCheck(lastError == NULL || SDL_strlen(lastError) == 0, "Validate no error message was set");
   1.134 +
   1.135 +  /* RandomUintXBoundaryValue(0, 0xff, SDL_FALSE) returns 0 (sets error) */
   1.136 +  uresult = (Uint64)SDLTest_RandomUint8BoundaryValue(0, 255, SDL_FALSE);
   1.137 +  SDLTest_AssertPass("Call to SDLTest_RandomUint8BoundaryValue");
   1.138 +  SDLTest_AssertCheck(
   1.139 +    uresult == 0,
   1.140 +    "Validate result value for parameters(0,255,SDL_FALSE); expected: 0, got: %lld", uresult);
   1.141 +  lastError = (char *)SDL_GetError();
   1.142 +  SDLTest_AssertPass("SDL_GetError()");
   1.143 +  SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0,
   1.144 +             "SDL_GetError(): expected message '%s', was message: '%s'",
   1.145 +             expectedError,
   1.146 +             lastError);
   1.147 +
   1.148 +  /* Clear error messages */
   1.149 +  SDL_ClearError();
   1.150 +  SDLTest_AssertPass("SDL_ClearError()");
   1.151 +
   1.152 +  return TEST_COMPLETED;
   1.153 +}
   1.154 +
   1.155 +/*
   1.156 + * @brief Calls to random boundary number generators for Uint16
   1.157 + */
   1.158 +int
   1.159 +sdltest_randomBoundaryNumberUint16(void *arg)
   1.160 +{
   1.161 +  const char *expectedError = "That operation is not supported";
   1.162 +  char *lastError;
   1.163 +  Uint64 uresult;
   1.164 +
   1.165 +  /* Clean error messages */
   1.166 +  SDL_ClearError();
   1.167 +  SDLTest_AssertPass("SDL_ClearError()");
   1.168 +
   1.169 +  /* RandomUintXBoundaryValue(10, 10, SDL_TRUE) returns 10 */
   1.170 +  uresult = (Uint64)SDLTest_RandomUint16BoundaryValue(10, 10, SDL_TRUE);
   1.171 +  SDLTest_AssertPass("Call to SDLTest_RandomUint16BoundaryValue");
   1.172 +  SDLTest_AssertCheck(
   1.173 +    uresult == 10,
   1.174 +    "Validate result value for parameters (10,10,SDL_TRUE); expected: 10, got: %lld", uresult);  
   1.175 +
   1.176 +  /* RandomUintXBoundaryValue(10, 11, SDL_TRUE) returns 10, 11 */
   1.177 +  uresult = (Uint64)SDLTest_RandomUint16BoundaryValue(10, 11, SDL_TRUE);
   1.178 +  SDLTest_AssertPass("Call to SDLTest_RandomUint16BoundaryValue");
   1.179 +  SDLTest_AssertCheck(
   1.180 +    uresult == 10 || uresult == 11,
   1.181 +    "Validate result value for parameters (10,11,SDL_TRUE); expected: 10|11, got: %lld", uresult);  
   1.182 +
   1.183 +  /* RandomUintXBoundaryValue(10, 12, SDL_TRUE) returns 10, 11, 12 */
   1.184 +  uresult = (Uint64)SDLTest_RandomUint16BoundaryValue(10, 12, SDL_TRUE);
   1.185 +  SDLTest_AssertPass("Call to SDLTest_RandomUint16BoundaryValue");
   1.186 +  SDLTest_AssertCheck(
   1.187 +    uresult == 10 || uresult == 11 || uresult == 12,
   1.188 +    "Validate result value for parameters (10,12,SDL_TRUE); expected: 10|11|12, got: %lld", uresult);  
   1.189 +
   1.190 +  /* RandomUintXBoundaryValue(10, 13, SDL_TRUE) returns 10, 11, 12, 13 */
   1.191 +  uresult = (Uint64)SDLTest_RandomUint16BoundaryValue(10, 13, SDL_TRUE);
   1.192 +  SDLTest_AssertPass("Call to SDLTest_RandomUint16BoundaryValue");
   1.193 +  SDLTest_AssertCheck(
   1.194 +    uresult == 10 || uresult == 11 || uresult == 12 || uresult == 13,
   1.195 +    "Validate result value for parameters (10,13,SDL_TRUE); expected: 10|11|12|13, got: %lld", uresult);  
   1.196 +
   1.197 +  /* RandomUintXBoundaryValue(10, 20, SDL_TRUE) returns 10, 11, 19 or 20 */
   1.198 +  uresult = (Uint64)SDLTest_RandomUint16BoundaryValue(10, 20, SDL_TRUE);
   1.199 +  SDLTest_AssertPass("Call to SDLTest_RandomUint16BoundaryValue");
   1.200 +  SDLTest_AssertCheck(
   1.201 +    uresult == 10 || uresult == 11 || uresult == 19 || uresult == 20,
   1.202 +    "Validate result value for parameters (10,20,SDL_TRUE); expected: 10|11|19|20, got: %lld", uresult);  
   1.203 +
   1.204 +  /* RandomUintXBoundaryValue(20, 10, SDL_TRUE) returns 10, 11, 19 or 20 */
   1.205 +  uresult = (Uint64)SDLTest_RandomUint16BoundaryValue(20, 10, SDL_TRUE);
   1.206 +  SDLTest_AssertPass("Call to SDLTest_RandomUint16BoundaryValue");
   1.207 +  SDLTest_AssertCheck(
   1.208 +    uresult == 10 || uresult == 11 || uresult == 19 || uresult == 20,
   1.209 +    "Validate result value for parameters (20,10,SDL_TRUE); expected: 10|11|19|20, got: %lld", uresult);  
   1.210 +
   1.211 +  /* RandomUintXBoundaryValue(1, 20, SDL_FALSE) returns 0, 21 */
   1.212 +  uresult = (Uint64)SDLTest_RandomUint16BoundaryValue(1, 20, SDL_FALSE);
   1.213 +  SDLTest_AssertPass("Call to SDLTest_RandomUint16BoundaryValue");
   1.214 +  SDLTest_AssertCheck(
   1.215 +    uresult == 0 || uresult == 21,
   1.216 +    "Validate result value for parameters (1,20,SDL_FALSE); expected: 0|21, got: %lld", uresult);  
   1.217 +            
   1.218 +  /* RandomUintXBoundaryValue(0, 99, SDL_FALSE) returns 100 */
   1.219 +  uresult = (Uint64)SDLTest_RandomUint16BoundaryValue(0, 99, SDL_FALSE);
   1.220 +  SDLTest_AssertPass("Call to SDLTest_RandomUint16BoundaryValue");
   1.221 +  SDLTest_AssertCheck(
   1.222 +    uresult == 100,
   1.223 +    "Validate result value for parameters (0,99,SDL_FALSE); expected: 100, got: %lld", uresult);  
   1.224 +
   1.225 +  /* RandomUintXBoundaryValue(1, 0xffff, SDL_FALSE) returns 0 (no error) */
   1.226 +  uresult = (Uint64)SDLTest_RandomUint16BoundaryValue(1, 0xffff, SDL_FALSE);
   1.227 +  SDLTest_AssertPass("Call to SDLTest_RandomUint16BoundaryValue");
   1.228 +  SDLTest_AssertCheck(
   1.229 +    uresult == 0,
   1.230 +    "Validate result value for parameters (1,0xffff,SDL_FALSE); expected: 0, got: %lld", uresult);
   1.231 +  lastError = (char *)SDL_GetError();
   1.232 +  SDLTest_AssertPass("SDL_GetError()");
   1.233 +  SDLTest_AssertCheck(lastError == NULL || SDL_strlen(lastError) == 0, "Validate no error message was set");
   1.234 +
   1.235 +  /* RandomUintXBoundaryValue(0, 0xfffe, SDL_FALSE) returns 0xffff (no error) */
   1.236 +  uresult = (Uint64)SDLTest_RandomUint16BoundaryValue(0, 0xfffe, SDL_FALSE);
   1.237 +  SDLTest_AssertPass("Call to SDLTest_RandomUint16BoundaryValue");
   1.238 +  SDLTest_AssertCheck(
   1.239 +    uresult == 0xffff,
   1.240 +    "Validate result value for parameters (0,0xfffe,SDL_FALSE); expected: 0xffff, got: %lld", uresult);
   1.241 +  lastError = (char *)SDL_GetError();
   1.242 +  SDLTest_AssertPass("SDL_GetError()");
   1.243 +  SDLTest_AssertCheck(lastError == NULL || SDL_strlen(lastError) == 0, "Validate no error message was set");
   1.244 +
   1.245 +  /* RandomUintXBoundaryValue(0, 0xffff, SDL_FALSE) returns 0 (sets error) */
   1.246 +  uresult = (Uint64)SDLTest_RandomUint16BoundaryValue(0, 0xffff, SDL_FALSE);
   1.247 +  SDLTest_AssertPass("Call to SDLTest_RandomUint16BoundaryValue");
   1.248 +  SDLTest_AssertCheck(
   1.249 +    uresult == 0,
   1.250 +    "Validate result value for parameters(0,0xffff,SDL_FALSE); expected: 0, got: %lld", uresult);
   1.251 +  lastError = (char *)SDL_GetError();
   1.252 +  SDLTest_AssertPass("SDL_GetError()");
   1.253 +  SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0,
   1.254 +             "SDL_GetError(): expected message '%s', was message: '%s'",
   1.255 +             expectedError,
   1.256 +             lastError);
   1.257 +
   1.258 +  /* Clear error messages */
   1.259 +  SDL_ClearError();
   1.260 +  SDLTest_AssertPass("SDL_ClearError()");
   1.261 +
   1.262 +  return TEST_COMPLETED;
   1.263 +}
   1.264 +                              
   1.265 +/*
   1.266 + * @brief Calls to random boundary number generators for Uint32
   1.267 + */
   1.268 +int
   1.269 +sdltest_randomBoundaryNumberUint32(void *arg)
   1.270 +{
   1.271 +  const char *expectedError = "That operation is not supported";
   1.272 +  char *lastError;
   1.273 +  Uint64 uresult;
   1.274 +
   1.275 +  /* Clean error messages */
   1.276 +  SDL_ClearError();
   1.277 +  SDLTest_AssertPass("SDL_ClearError()");
   1.278 +
   1.279 +  /* RandomUintXBoundaryValue(10, 10, SDL_TRUE) returns 10 */
   1.280 +  uresult = (Uint64)SDLTest_RandomUint32BoundaryValue(10, 10, SDL_TRUE);
   1.281 +  SDLTest_AssertPass("Call to SDLTest_RandomUint32BoundaryValue");
   1.282 +  SDLTest_AssertCheck(
   1.283 +    uresult == 10,
   1.284 +    "Validate result value for parameters (10,10,SDL_TRUE); expected: 10, got: %lld", uresult);  
   1.285 +
   1.286 +  /* RandomUintXBoundaryValue(10, 11, SDL_TRUE) returns 10, 11 */
   1.287 +  uresult = (Uint64)SDLTest_RandomUint32BoundaryValue(10, 11, SDL_TRUE);
   1.288 +  SDLTest_AssertPass("Call to SDLTest_RandomUint32BoundaryValue");
   1.289 +  SDLTest_AssertCheck(
   1.290 +    uresult == 10 || uresult == 11,
   1.291 +    "Validate result value for parameters (10,11,SDL_TRUE); expected: 10|11, got: %lld", uresult);  
   1.292 +
   1.293 +  /* RandomUintXBoundaryValue(10, 12, SDL_TRUE) returns 10, 11, 12 */
   1.294 +  uresult = (Uint64)SDLTest_RandomUint32BoundaryValue(10, 12, SDL_TRUE);
   1.295 +  SDLTest_AssertPass("Call to SDLTest_RandomUint32BoundaryValue");
   1.296 +  SDLTest_AssertCheck(
   1.297 +    uresult == 10 || uresult == 11 || uresult == 12,
   1.298 +    "Validate result value for parameters (10,12,SDL_TRUE); expected: 10|11|12, got: %lld", uresult);  
   1.299 +
   1.300 +  /* RandomUintXBoundaryValue(10, 13, SDL_TRUE) returns 10, 11, 12, 13 */
   1.301 +  uresult = (Uint64)SDLTest_RandomUint32BoundaryValue(10, 13, SDL_TRUE);
   1.302 +  SDLTest_AssertPass("Call to SDLTest_RandomUint32BoundaryValue");
   1.303 +  SDLTest_AssertCheck(
   1.304 +    uresult == 10 || uresult == 11 || uresult == 12 || uresult == 13,
   1.305 +    "Validate result value for parameters (10,13,SDL_TRUE); expected: 10|11|12|13, got: %lld", uresult);  
   1.306 +
   1.307 +  /* RandomUintXBoundaryValue(10, 20, SDL_TRUE) returns 10, 11, 19 or 20 */
   1.308 +  uresult = (Uint64)SDLTest_RandomUint32BoundaryValue(10, 20, SDL_TRUE);
   1.309 +  SDLTest_AssertPass("Call to SDLTest_RandomUint32BoundaryValue");
   1.310 +  SDLTest_AssertCheck(
   1.311 +    uresult == 10 || uresult == 11 || uresult == 19 || uresult == 20,
   1.312 +    "Validate result value for parameters (10,20,SDL_TRUE); expected: 10|11|19|20, got: %lld", uresult);  
   1.313 +
   1.314 +  /* RandomUintXBoundaryValue(20, 10, SDL_TRUE) returns 10, 11, 19 or 20 */
   1.315 +  uresult = (Uint64)SDLTest_RandomUint32BoundaryValue(20, 10, SDL_TRUE);
   1.316 +  SDLTest_AssertPass("Call to SDLTest_RandomUint32BoundaryValue");
   1.317 +  SDLTest_AssertCheck(
   1.318 +    uresult == 10 || uresult == 11 || uresult == 19 || uresult == 20,
   1.319 +    "Validate result value for parameters (20,10,SDL_TRUE); expected: 10|11|19|20, got: %lld", uresult);  
   1.320 +
   1.321 +  /* RandomUintXBoundaryValue(1, 20, SDL_FALSE) returns 0, 21 */
   1.322 +  uresult = (Uint64)SDLTest_RandomUint32BoundaryValue(1, 20, SDL_FALSE);
   1.323 +  SDLTest_AssertPass("Call to SDLTest_RandomUint32BoundaryValue");
   1.324 +  SDLTest_AssertCheck(
   1.325 +    uresult == 0 || uresult == 21,
   1.326 +    "Validate result value for parameters (1,20,SDL_FALSE); expected: 0|21, got: %lld", uresult);  
   1.327 +            
   1.328 +  /* RandomUintXBoundaryValue(0, 99, SDL_FALSE) returns 100 */
   1.329 +  uresult = (Uint64)SDLTest_RandomUint32BoundaryValue(0, 99, SDL_FALSE);
   1.330 +  SDLTest_AssertPass("Call to SDLTest_RandomUint32BoundaryValue");
   1.331 +  SDLTest_AssertCheck(
   1.332 +    uresult == 100,
   1.333 +    "Validate result value for parameters (0,99,SDL_FALSE); expected: 100, got: %lld", uresult);  
   1.334 +
   1.335 +  /* RandomUintXBoundaryValue(1, 0xffffffff, SDL_FALSE) returns 0 (no error) */
   1.336 +  uresult = (Uint64)SDLTest_RandomUint32BoundaryValue(1, 0xffffffff, SDL_FALSE);
   1.337 +  SDLTest_AssertPass("Call to SDLTest_RandomUint32BoundaryValue");
   1.338 +  SDLTest_AssertCheck(
   1.339 +    uresult == 0,
   1.340 +    "Validate result value for parameters (1,0xffffffff,SDL_FALSE); expected: 0, got: %lld", uresult);
   1.341 +  lastError = (char *)SDL_GetError();
   1.342 +  SDLTest_AssertPass("SDL_GetError()");
   1.343 +  SDLTest_AssertCheck(lastError == NULL || SDL_strlen(lastError) == 0, "Validate no error message was set");
   1.344 +
   1.345 +  /* RandomUintXBoundaryValue(0, 0xfffffffe, SDL_FALSE) returns 0xffffffff (no error) */
   1.346 +  uresult = (Uint64)SDLTest_RandomUint32BoundaryValue(0, 0xfffffffe, SDL_FALSE);
   1.347 +  SDLTest_AssertPass("Call to SDLTest_RandomUint32BoundaryValue");
   1.348 +  SDLTest_AssertCheck(
   1.349 +    uresult == 0xffffffff,
   1.350 +    "Validate result value for parameters (0,0xfffffffe,SDL_FALSE); expected: 0xffffffff, got: %lld", uresult);
   1.351 +  lastError = (char *)SDL_GetError();
   1.352 +  SDLTest_AssertPass("SDL_GetError()");
   1.353 +  SDLTest_AssertCheck(lastError == NULL || SDL_strlen(lastError) == 0, "Validate no error message was set");
   1.354 +
   1.355 +  /* RandomUintXBoundaryValue(0, 0xffffffff, SDL_FALSE) returns 0 (sets error) */
   1.356 +  uresult = (Uint64)SDLTest_RandomUint32BoundaryValue(0, 0xffffffff, SDL_FALSE);
   1.357 +  SDLTest_AssertPass("Call to SDLTest_RandomUint32BoundaryValue");
   1.358 +  SDLTest_AssertCheck(
   1.359 +    uresult == 0,
   1.360 +    "Validate result value for parameters(0,0xffffffff,SDL_FALSE); expected: 0, got: %lld", uresult);
   1.361 +  lastError = (char *)SDL_GetError();
   1.362 +  SDLTest_AssertPass("SDL_GetError()");
   1.363 +  SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0,
   1.364 +             "SDL_GetError(): expected message '%s', was message: '%s'",
   1.365 +             expectedError,
   1.366 +             lastError);
   1.367 +
   1.368 +  /* Clear error messages */
   1.369 +  SDL_ClearError();
   1.370 +  SDLTest_AssertPass("SDL_ClearError()");
   1.371 +
   1.372 +  return TEST_COMPLETED;
   1.373 +}
   1.374 +
   1.375 +/*
   1.376 + * @brief Calls to random boundary number generators for Uint64
   1.377 + */
   1.378 +int
   1.379 +sdltest_randomBoundaryNumberUint64(void *arg)
   1.380 +{
   1.381 +  const char *expectedError = "That operation is not supported";
   1.382 +  char *lastError;
   1.383 +  Uint64 uresult;
   1.384 +
   1.385 +  /* Clean error messages */
   1.386 +  SDL_ClearError();
   1.387 +  SDLTest_AssertPass("SDL_ClearError()");
   1.388 +
   1.389 +  /* RandomUintXBoundaryValue(10, 10, SDL_TRUE) returns 10 */
   1.390 +  uresult = (Uint64)SDLTest_RandomUint64BoundaryValue(10, 10, SDL_TRUE);
   1.391 +  SDLTest_AssertPass("Call to SDLTest_RandomUint64BoundaryValue");
   1.392 +  SDLTest_AssertCheck(
   1.393 +    uresult == 10,
   1.394 +    "Validate result value for parameters (10,10,SDL_TRUE); expected: 10, got: %lld", uresult);  
   1.395 +
   1.396 +  /* RandomUintXBoundaryValue(10, 11, SDL_TRUE) returns 10, 11 */
   1.397 +  uresult = (Uint64)SDLTest_RandomUint64BoundaryValue(10, 11, SDL_TRUE);
   1.398 +  SDLTest_AssertPass("Call to SDLTest_RandomUint64BoundaryValue");
   1.399 +  SDLTest_AssertCheck(
   1.400 +    uresult == 10 || uresult == 11,
   1.401 +    "Validate result value for parameters (10,11,SDL_TRUE); expected: 10|11, got: %lld", uresult);  
   1.402 +
   1.403 +  /* RandomUintXBoundaryValue(10, 12, SDL_TRUE) returns 10, 11, 12 */
   1.404 +  uresult = (Uint64)SDLTest_RandomUint64BoundaryValue(10, 12, SDL_TRUE);
   1.405 +  SDLTest_AssertPass("Call to SDLTest_RandomUint64BoundaryValue");
   1.406 +  SDLTest_AssertCheck(
   1.407 +    uresult == 10 || uresult == 11 || uresult == 12,
   1.408 +    "Validate result value for parameters (10,12,SDL_TRUE); expected: 10|11|12, got: %lld", uresult);  
   1.409 +
   1.410 +  /* RandomUintXBoundaryValue(10, 13, SDL_TRUE) returns 10, 11, 12, 13 */
   1.411 +  uresult = (Uint64)SDLTest_RandomUint64BoundaryValue(10, 13, SDL_TRUE);
   1.412 +  SDLTest_AssertPass("Call to SDLTest_RandomUint64BoundaryValue");
   1.413 +  SDLTest_AssertCheck(
   1.414 +    uresult == 10 || uresult == 11 || uresult == 12 || uresult == 13,
   1.415 +    "Validate result value for parameters (10,13,SDL_TRUE); expected: 10|11|12|13, got: %lld", uresult);  
   1.416 +
   1.417 +  /* RandomUintXBoundaryValue(10, 20, SDL_TRUE) returns 10, 11, 19 or 20 */
   1.418 +  uresult = (Uint64)SDLTest_RandomUint64BoundaryValue(10, 20, SDL_TRUE);
   1.419 +  SDLTest_AssertPass("Call to SDLTest_RandomUint64BoundaryValue");
   1.420 +  SDLTest_AssertCheck(
   1.421 +    uresult == 10 || uresult == 11 || uresult == 19 || uresult == 20,
   1.422 +    "Validate result value for parameters (10,20,SDL_TRUE); expected: 10|11|19|20, got: %lld", uresult);  
   1.423 +
   1.424 +  /* RandomUintXBoundaryValue(20, 10, SDL_TRUE) returns 10, 11, 19 or 20 */
   1.425 +  uresult = (Uint64)SDLTest_RandomUint64BoundaryValue(20, 10, SDL_TRUE);
   1.426 +  SDLTest_AssertPass("Call to SDLTest_RandomUint64BoundaryValue");
   1.427 +  SDLTest_AssertCheck(
   1.428 +    uresult == 10 || uresult == 11 || uresult == 19 || uresult == 20,
   1.429 +    "Validate result value for parameters (20,10,SDL_TRUE); expected: 10|11|19|20, got: %lld", uresult);  
   1.430 +
   1.431 +  /* RandomUintXBoundaryValue(1, 20, SDL_FALSE) returns 0, 21 */
   1.432 +  uresult = (Uint64)SDLTest_RandomUint64BoundaryValue(1, 20, SDL_FALSE);
   1.433 +  SDLTest_AssertPass("Call to SDLTest_RandomUint64BoundaryValue");
   1.434 +  SDLTest_AssertCheck(
   1.435 +    uresult == 0 || uresult == 21,
   1.436 +    "Validate result value for parameters (1,20,SDL_FALSE); expected: 0|21, got: %lld", uresult);  
   1.437 +            
   1.438 +  /* RandomUintXBoundaryValue(0, 99, SDL_FALSE) returns 100 */
   1.439 +  uresult = (Uint64)SDLTest_RandomUint64BoundaryValue(0, 99, SDL_FALSE);
   1.440 +  SDLTest_AssertPass("Call to SDLTest_RandomUint64BoundaryValue");
   1.441 +  SDLTest_AssertCheck(
   1.442 +    uresult == 100,
   1.443 +    "Validate result value for parameters (0,99,SDL_FALSE); expected: 100, got: %lld", uresult);  
   1.444 +
   1.445 +  /* RandomUintXBoundaryValue(1, 0xffffffffffffffff, SDL_FALSE) returns 0 (no error) */
   1.446 +  uresult = (Uint64)SDLTest_RandomUint64BoundaryValue(1, (Uint64)0xffffffffffffffffULL, SDL_FALSE);
   1.447 +  SDLTest_AssertPass("Call to SDLTest_RandomUint64BoundaryValue");
   1.448 +  SDLTest_AssertCheck(
   1.449 +    uresult == 0,
   1.450 +    "Validate result value for parameters (1,0xffffffffffffffff,SDL_FALSE); expected: 0, got: %lld", uresult);
   1.451 +  lastError = (char *)SDL_GetError();
   1.452 +  SDLTest_AssertPass("SDL_GetError()");
   1.453 +  SDLTest_AssertCheck(lastError == NULL || SDL_strlen(lastError) == 0, "Validate no error message was set");
   1.454 +
   1.455 +  /* RandomUintXBoundaryValue(0, 0xfffffffffffffffe, SDL_FALSE) returns 0xffffffffffffffff (no error) */
   1.456 +  uresult = (Uint64)SDLTest_RandomUint64BoundaryValue(0, (Uint64)0xfffffffffffffffeULL, SDL_FALSE);
   1.457 +  SDLTest_AssertPass("Call to SDLTest_RandomUint64BoundaryValue");
   1.458 +  SDLTest_AssertCheck(
   1.459 +    uresult == (Uint64)0xffffffffffffffffULL,
   1.460 +    "Validate result value for parameters (0,0xfffffffffffffffe,SDL_FALSE); expected: 0xffffffffffffffff, got: %lld", uresult);
   1.461 +  lastError = (char *)SDL_GetError();
   1.462 +  SDLTest_AssertPass("SDL_GetError()");
   1.463 +  SDLTest_AssertCheck(lastError == NULL || SDL_strlen(lastError) == 0, "Validate no error message was set");
   1.464 +
   1.465 +  /* RandomUintXBoundaryValue(0, 0xffffffffffffffff, SDL_FALSE) returns 0 (sets error) */
   1.466 +  uresult = (Uint64)SDLTest_RandomUint64BoundaryValue(0, (Uint64)0xffffffffffffffffULL, SDL_FALSE);
   1.467 +  SDLTest_AssertPass("Call to SDLTest_RandomUint64BoundaryValue");
   1.468 +  SDLTest_AssertCheck(
   1.469 +    uresult == 0,
   1.470 +    "Validate result value for parameters(0,0xffffffffffffffff,SDL_FALSE); expected: 0, got: %lld", uresult);
   1.471 +  lastError = (char *)SDL_GetError();
   1.472 +  SDLTest_AssertPass("SDL_GetError()");
   1.473 +  SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0,
   1.474 +             "SDL_GetError(): expected message '%s', was message: '%s'",
   1.475 +             expectedError,
   1.476 +             lastError);
   1.477 +
   1.478 +  /* Clear error messages */
   1.479 +  SDL_ClearError();
   1.480 +  SDLTest_AssertPass("SDL_ClearError()");
   1.481 +
   1.482 +  return TEST_COMPLETED;
   1.483 +}
   1.484 +
   1.485 +/*
   1.486 + * @brief Calls to random boundary number generators for Sint8
   1.487 + */
   1.488 +int
   1.489 +sdltest_randomBoundaryNumberSint8(void *arg)
   1.490 +{
   1.491 +  const char *expectedError = "That operation is not supported";
   1.492 +  char *lastError;
   1.493 +  Sint64 sresult;
   1.494 +
   1.495 +  /* Clean error messages */
   1.496 +  SDL_ClearError();
   1.497 +  SDLTest_AssertPass("SDL_ClearError()");
   1.498 +
   1.499 +  /* RandomSintXBoundaryValue(10, 10, SDL_TRUE) returns 10 */
   1.500 +  sresult = (Sint64)SDLTest_RandomSint8BoundaryValue(10, 10, SDL_TRUE);
   1.501 +  SDLTest_AssertPass("Call to SDLTest_RandomSint8BoundaryValue");
   1.502 +  SDLTest_AssertCheck(
   1.503 +    sresult == 10,
   1.504 +    "Validate result value for parameters (10,10,SDL_TRUE); expected: 10, got: %lld", sresult);  
   1.505 +
   1.506 +  /* RandomSintXBoundaryValue(10, 11, SDL_TRUE) returns 10, 11 */
   1.507 +  sresult = (Sint64)SDLTest_RandomSint8BoundaryValue(10, 11, SDL_TRUE);
   1.508 +  SDLTest_AssertPass("Call to SDLTest_RandomSint8BoundaryValue");
   1.509 +  SDLTest_AssertCheck(
   1.510 +    sresult == 10 || sresult == 11,
   1.511 +    "Validate result value for parameters (10,11,SDL_TRUE); expected: 10|11, got: %lld", sresult);  
   1.512 +
   1.513 +  /* RandomSintXBoundaryValue(10, 12, SDL_TRUE) returns 10, 11, 12 */
   1.514 +  sresult = (Sint64)SDLTest_RandomSint8BoundaryValue(10, 12, SDL_TRUE);
   1.515 +  SDLTest_AssertPass("Call to SDLTest_RandomSint8BoundaryValue");
   1.516 +  SDLTest_AssertCheck(
   1.517 +    sresult == 10 || sresult == 11 || sresult == 12,
   1.518 +    "Validate result value for parameters (10,12,SDL_TRUE); expected: 10|11|12, got: %lld", sresult);  
   1.519 +
   1.520 +  /* RandomSintXBoundaryValue(10, 13, SDL_TRUE) returns 10, 11, 12, 13 */
   1.521 +  sresult = (Sint64)SDLTest_RandomSint8BoundaryValue(10, 13, SDL_TRUE);
   1.522 +  SDLTest_AssertPass("Call to SDLTest_RandomSint8BoundaryValue");
   1.523 +  SDLTest_AssertCheck(
   1.524 +    sresult == 10 || sresult == 11 || sresult == 12 || sresult == 13,
   1.525 +    "Validate result value for parameters (10,13,SDL_TRUE); expected: 10|11|12|13, got: %lld", sresult);  
   1.526 +
   1.527 +  /* RandomSintXBoundaryValue(10, 20, SDL_TRUE) returns 10, 11, 19 or 20 */
   1.528 +  sresult = (Sint64)SDLTest_RandomSint8BoundaryValue(10, 20, SDL_TRUE);
   1.529 +  SDLTest_AssertPass("Call to SDLTest_RandomSint8BoundaryValue");
   1.530 +  SDLTest_AssertCheck(
   1.531 +    sresult == 10 || sresult == 11 || sresult == 19 || sresult == 20,
   1.532 +    "Validate result value for parameters (10,20,SDL_TRUE); expected: 10|11|19|20, got: %lld", sresult);  
   1.533 +
   1.534 +  /* RandomSintXBoundaryValue(20, 10, SDL_TRUE) returns 10, 11, 19 or 20 */
   1.535 +  sresult = (Sint64)SDLTest_RandomSint8BoundaryValue(20, 10, SDL_TRUE);
   1.536 +  SDLTest_AssertPass("Call to SDLTest_RandomSint8BoundaryValue");
   1.537 +  SDLTest_AssertCheck(
   1.538 +    sresult == 10 || sresult == 11 || sresult == 19 || sresult == 20,
   1.539 +    "Validate result value for parameters (20,10,SDL_TRUE); expected: 10|11|19|20, got: %lld", sresult);  
   1.540 +
   1.541 +  /* RandomSintXBoundaryValue(1, 20, SDL_FALSE) returns 0, 21 */
   1.542 +  sresult = (Sint64)SDLTest_RandomSint8BoundaryValue(1, 20, SDL_FALSE);
   1.543 +  SDLTest_AssertPass("Call to SDLTest_RandomSint8BoundaryValue");
   1.544 +  SDLTest_AssertCheck(
   1.545 +    sresult == 0 || sresult == 21,
   1.546 +    "Validate result value for parameters (1,20,SDL_FALSE); expected: 0|21, got: %lld", sresult);  
   1.547 +            
   1.548 +  /* RandomSintXBoundaryValue(SCHAR_MIN, 99, SDL_FALSE) returns 100 */
   1.549 +  sresult = (Sint64)SDLTest_RandomSint8BoundaryValue(SCHAR_MIN, 99, SDL_FALSE);
   1.550 +  SDLTest_AssertPass("Call to SDLTest_RandomSint8BoundaryValue");
   1.551 +  SDLTest_AssertCheck(
   1.552 +    sresult == 100,
   1.553 +    "Validate result value for parameters (SCHAR_MIN,99,SDL_FALSE); expected: 100, got: %lld", sresult);  
   1.554 +
   1.555 +  /* RandomSintXBoundaryValue(SCHAR_MIN + 1, SCHAR_MAX, SDL_FALSE) returns SCHAR_MIN (no error) */
   1.556 +  sresult = (Sint64)SDLTest_RandomSint8BoundaryValue(SCHAR_MIN + 1, SCHAR_MAX, SDL_FALSE);
   1.557 +  SDLTest_AssertPass("Call to SDLTest_RandomSint8BoundaryValue");
   1.558 +  SDLTest_AssertCheck(
   1.559 +    sresult == SCHAR_MIN,
   1.560 +    "Validate result value for parameters (SCHAR_MIN + 1,SCHAR_MAX,SDL_FALSE); expected: %d, got: %lld", SCHAR_MIN, sresult);
   1.561 +  lastError = (char *)SDL_GetError();
   1.562 +  SDLTest_AssertPass("SDL_GetError()");
   1.563 +  SDLTest_AssertCheck(lastError == NULL || SDL_strlen(lastError) == 0, "Validate no error message was set");
   1.564 +
   1.565 +  /* RandomSintXBoundaryValue(SCHAR_MIN, SCHAR_MAX - 1, SDL_FALSE) returns SCHAR_MAX (no error) */
   1.566 +  sresult = (Sint64)SDLTest_RandomSint8BoundaryValue(SCHAR_MIN, SCHAR_MAX -1, SDL_FALSE);
   1.567 +  SDLTest_AssertPass("Call to SDLTest_RandomSint8BoundaryValue");
   1.568 +  SDLTest_AssertCheck(
   1.569 +    sresult == SCHAR_MAX,
   1.570 +    "Validate result value for parameters (SCHAR_MIN,SCHAR_MAX - 1,SDL_FALSE); expected: %d, got: %lld", SCHAR_MAX, sresult);
   1.571 +  lastError = (char *)SDL_GetError();
   1.572 +  SDLTest_AssertPass("SDL_GetError()");
   1.573 +  SDLTest_AssertCheck(lastError == NULL || SDL_strlen(lastError) == 0, "Validate no error message was set");
   1.574 +
   1.575 +  /* RandomSintXBoundaryValue(SCHAR_MIN, SCHAR_MAX, SDL_FALSE) returns SCHAR_MIN (sets error) */
   1.576 +  sresult = (Sint64)SDLTest_RandomSint8BoundaryValue(SCHAR_MIN, SCHAR_MAX, SDL_FALSE);
   1.577 +  SDLTest_AssertPass("Call to SDLTest_RandomSint8BoundaryValue");
   1.578 +  SDLTest_AssertCheck(
   1.579 +    sresult == SCHAR_MIN,
   1.580 +    "Validate result value for parameters(SCHAR_MIN,SCHAR_MAX,SDL_FALSE); expected: %d, got: %lld", SCHAR_MIN, sresult);
   1.581 +  lastError = (char *)SDL_GetError();
   1.582 +  SDLTest_AssertPass("SDL_GetError()");
   1.583 +  SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0,
   1.584 +             "SDL_GetError(): expected message '%s', was message: '%s'",
   1.585 +             expectedError,
   1.586 +             lastError);
   1.587 +
   1.588 +  /* Clear error messages */
   1.589 +  SDL_ClearError();
   1.590 +  SDLTest_AssertPass("SDL_ClearError()");
   1.591 +  
   1.592 +  return TEST_COMPLETED;
   1.593 +}
   1.594 +
   1.595 +/*
   1.596 + * @brief Calls to random boundary number generators for Sint16
   1.597 + */
   1.598 +int
   1.599 +sdltest_randomBoundaryNumberSint16(void *arg)
   1.600 +{
   1.601 +  const char *expectedError = "That operation is not supported";
   1.602 +  char *lastError;
   1.603 +  Sint64 sresult;
   1.604 +
   1.605 +  /* Clean error messages */
   1.606 +  SDL_ClearError();
   1.607 +  SDLTest_AssertPass("SDL_ClearError()");
   1.608 +
   1.609 +  /* RandomSintXBoundaryValue(10, 10, SDL_TRUE) returns 10 */
   1.610 +  sresult = (Sint64)SDLTest_RandomSint16BoundaryValue(10, 10, SDL_TRUE);
   1.611 +  SDLTest_AssertPass("Call to SDLTest_RandomSint16BoundaryValue");
   1.612 +  SDLTest_AssertCheck(
   1.613 +    sresult == 10,
   1.614 +    "Validate result value for parameters (10,10,SDL_TRUE); expected: 10, got: %lld", sresult);  
   1.615 +
   1.616 +  /* RandomSintXBoundaryValue(10, 11, SDL_TRUE) returns 10, 11 */
   1.617 +  sresult = (Sint64)SDLTest_RandomSint16BoundaryValue(10, 11, SDL_TRUE);
   1.618 +  SDLTest_AssertPass("Call to SDLTest_RandomSint16BoundaryValue");
   1.619 +  SDLTest_AssertCheck(
   1.620 +    sresult == 10 || sresult == 11,
   1.621 +    "Validate result value for parameters (10,11,SDL_TRUE); expected: 10|11, got: %lld", sresult);  
   1.622 +
   1.623 +  /* RandomSintXBoundaryValue(10, 12, SDL_TRUE) returns 10, 11, 12 */
   1.624 +  sresult = (Sint64)SDLTest_RandomSint16BoundaryValue(10, 12, SDL_TRUE);
   1.625 +  SDLTest_AssertPass("Call to SDLTest_RandomSint16BoundaryValue");
   1.626 +  SDLTest_AssertCheck(
   1.627 +    sresult == 10 || sresult == 11 || sresult == 12,
   1.628 +    "Validate result value for parameters (10,12,SDL_TRUE); expected: 10|11|12, got: %lld", sresult);  
   1.629 +
   1.630 +  /* RandomSintXBoundaryValue(10, 13, SDL_TRUE) returns 10, 11, 12, 13 */
   1.631 +  sresult = (Sint64)SDLTest_RandomSint16BoundaryValue(10, 13, SDL_TRUE);
   1.632 +  SDLTest_AssertPass("Call to SDLTest_RandomSint16BoundaryValue");
   1.633 +  SDLTest_AssertCheck(
   1.634 +    sresult == 10 || sresult == 11 || sresult == 12 || sresult == 13,
   1.635 +    "Validate result value for parameters (10,13,SDL_TRUE); expected: 10|11|12|13, got: %lld", sresult);  
   1.636 +
   1.637 +  /* RandomSintXBoundaryValue(10, 20, SDL_TRUE) returns 10, 11, 19 or 20 */
   1.638 +  sresult = (Sint64)SDLTest_RandomSint16BoundaryValue(10, 20, SDL_TRUE);
   1.639 +  SDLTest_AssertPass("Call to SDLTest_RandomSint16BoundaryValue");
   1.640 +  SDLTest_AssertCheck(
   1.641 +    sresult == 10 || sresult == 11 || sresult == 19 || sresult == 20,
   1.642 +    "Validate result value for parameters (10,20,SDL_TRUE); expected: 10|11|19|20, got: %lld", sresult);  
   1.643 +
   1.644 +  /* RandomSintXBoundaryValue(20, 10, SDL_TRUE) returns 10, 11, 19 or 20 */
   1.645 +  sresult = (Sint64)SDLTest_RandomSint16BoundaryValue(20, 10, SDL_TRUE);
   1.646 +  SDLTest_AssertPass("Call to SDLTest_RandomSint16BoundaryValue");
   1.647 +  SDLTest_AssertCheck(
   1.648 +    sresult == 10 || sresult == 11 || sresult == 19 || sresult == 20,
   1.649 +    "Validate result value for parameters (20,10,SDL_TRUE); expected: 10|11|19|20, got: %lld", sresult);  
   1.650 +
   1.651 +  /* RandomSintXBoundaryValue(1, 20, SDL_FALSE) returns 0, 21 */
   1.652 +  sresult = (Sint64)SDLTest_RandomSint16BoundaryValue(1, 20, SDL_FALSE);
   1.653 +  SDLTest_AssertPass("Call to SDLTest_RandomSint16BoundaryValue");
   1.654 +  SDLTest_AssertCheck(
   1.655 +    sresult == 0 || sresult == 21,
   1.656 +    "Validate result value for parameters (1,20,SDL_FALSE); expected: 0|21, got: %lld", sresult);  
   1.657 +            
   1.658 +  /* RandomSintXBoundaryValue(SHRT_MIN, 99, SDL_FALSE) returns 100 */
   1.659 +  sresult = (Sint64)SDLTest_RandomSint16BoundaryValue(SHRT_MIN, 99, SDL_FALSE);
   1.660 +  SDLTest_AssertPass("Call to SDLTest_RandomSint16BoundaryValue");
   1.661 +  SDLTest_AssertCheck(
   1.662 +    sresult == 100,
   1.663 +    "Validate result value for parameters (SHRT_MIN,99,SDL_FALSE); expected: 100, got: %lld", sresult);  
   1.664 +
   1.665 +  /* RandomSintXBoundaryValue(SHRT_MIN + 1, SHRT_MAX, SDL_FALSE) returns SHRT_MIN (no error) */
   1.666 +  sresult = (Sint64)SDLTest_RandomSint16BoundaryValue(SHRT_MIN + 1, SHRT_MAX, SDL_FALSE);
   1.667 +  SDLTest_AssertPass("Call to SDLTest_RandomSint16BoundaryValue");
   1.668 +  SDLTest_AssertCheck(
   1.669 +    sresult == SHRT_MIN,
   1.670 +    "Validate result value for parameters (SHRT_MIN+1,SHRT_MAX,SDL_FALSE); expected: %d, got: %lld", SHRT_MIN, sresult);
   1.671 +  lastError = (char *)SDL_GetError();
   1.672 +  SDLTest_AssertPass("SDL_GetError()");
   1.673 +  SDLTest_AssertCheck(lastError == NULL || SDL_strlen(lastError) == 0, "Validate no error message was set");
   1.674 +
   1.675 +  /* RandomSintXBoundaryValue(SHRT_MIN, SHRT_MAX - 1, SDL_FALSE) returns SHRT_MAX (no error) */
   1.676 +  sresult = (Sint64)SDLTest_RandomSint16BoundaryValue(SHRT_MIN, SHRT_MAX - 1, SDL_FALSE);
   1.677 +  SDLTest_AssertPass("Call to SDLTest_RandomSint16BoundaryValue");
   1.678 +  SDLTest_AssertCheck(
   1.679 +    sresult == SHRT_MAX,
   1.680 +    "Validate result value for parameters (SHRT_MIN,SHRT_MAX - 1,SDL_FALSE); expected: %d, got: %lld", SHRT_MAX, sresult);
   1.681 +  lastError = (char *)SDL_GetError();
   1.682 +  SDLTest_AssertPass("SDL_GetError()");
   1.683 +  SDLTest_AssertCheck(lastError == NULL || SDL_strlen(lastError) == 0, "Validate no error message was set");
   1.684 +
   1.685 +  /* RandomSintXBoundaryValue(SHRT_MIN, SHRT_MAX, SDL_FALSE) returns 0 (sets error) */
   1.686 +  sresult = (Sint64)SDLTest_RandomSint16BoundaryValue(SHRT_MIN, SHRT_MAX, SDL_FALSE);
   1.687 +  SDLTest_AssertPass("Call to SDLTest_RandomSint16BoundaryValue");
   1.688 +  SDLTest_AssertCheck(
   1.689 +    sresult == SHRT_MIN,
   1.690 +    "Validate result value for parameters(SHRT_MIN,SHRT_MAX,SDL_FALSE); expected: %d, got: %lld", SHRT_MIN, sresult);
   1.691 +  lastError = (char *)SDL_GetError();
   1.692 +  SDLTest_AssertPass("SDL_GetError()");
   1.693 +  SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0,
   1.694 +             "SDL_GetError(): expected message '%s', was message: '%s'",
   1.695 +             expectedError,
   1.696 +             lastError);
   1.697 +
   1.698 +  /* Clear error messages */
   1.699 +  SDL_ClearError();
   1.700 +  SDLTest_AssertPass("SDL_ClearError()");
   1.701 +
   1.702 +  return TEST_COMPLETED;
   1.703 +}
   1.704 +                              
   1.705 +/*
   1.706 + * @brief Calls to random boundary number generators for Sint32
   1.707 + */
   1.708 +int
   1.709 +sdltest_randomBoundaryNumberSint32(void *arg)
   1.710 +{
   1.711 +  const char *expectedError = "That operation is not supported";
   1.712 +  char *lastError;
   1.713 +  Sint64 sresult;
   1.714 +
   1.715 +  /* Clean error messages */
   1.716 +  SDL_ClearError();
   1.717 +  SDLTest_AssertPass("SDL_ClearError()");
   1.718 +
   1.719 +  /* RandomSintXBoundaryValue(10, 10, SDL_TRUE) returns 10 */
   1.720 +  sresult = (Sint64)SDLTest_RandomSint32BoundaryValue(10, 10, SDL_TRUE);
   1.721 +  SDLTest_AssertPass("Call to SDLTest_RandomSint32BoundaryValue");
   1.722 +  SDLTest_AssertCheck(
   1.723 +    sresult == 10,
   1.724 +    "Validate result value for parameters (10,10,SDL_TRUE); expected: 10, got: %lld", sresult);  
   1.725 +
   1.726 +  /* RandomSintXBoundaryValue(10, 11, SDL_TRUE) returns 10, 11 */
   1.727 +  sresult = (Sint64)SDLTest_RandomSint32BoundaryValue(10, 11, SDL_TRUE);
   1.728 +  SDLTest_AssertPass("Call to SDLTest_RandomSint32BoundaryValue");
   1.729 +  SDLTest_AssertCheck(
   1.730 +    sresult == 10 || sresult == 11,
   1.731 +    "Validate result value for parameters (10,11,SDL_TRUE); expected: 10|11, got: %lld", sresult);  
   1.732 +
   1.733 +  /* RandomSintXBoundaryValue(10, 12, SDL_TRUE) returns 10, 11, 12 */
   1.734 +  sresult = (Sint64)SDLTest_RandomSint32BoundaryValue(10, 12, SDL_TRUE);
   1.735 +  SDLTest_AssertPass("Call to SDLTest_RandomSint32BoundaryValue");
   1.736 +  SDLTest_AssertCheck(
   1.737 +    sresult == 10 || sresult == 11 || sresult == 12,
   1.738 +    "Validate result value for parameters (10,12,SDL_TRUE); expected: 10|11|12, got: %lld", sresult);  
   1.739 +
   1.740 +  /* RandomSintXBoundaryValue(10, 13, SDL_TRUE) returns 10, 11, 12, 13 */
   1.741 +  sresult = (Sint64)SDLTest_RandomSint32BoundaryValue(10, 13, SDL_TRUE);
   1.742 +  SDLTest_AssertPass("Call to SDLTest_RandomSint32BoundaryValue");
   1.743 +  SDLTest_AssertCheck(
   1.744 +    sresult == 10 || sresult == 11 || sresult == 12 || sresult == 13,
   1.745 +    "Validate result value for parameters (10,13,SDL_TRUE); expected: 10|11|12|13, got: %lld", sresult);  
   1.746 +
   1.747 +  /* RandomSintXBoundaryValue(10, 20, SDL_TRUE) returns 10, 11, 19 or 20 */
   1.748 +  sresult = (Sint64)SDLTest_RandomSint32BoundaryValue(10, 20, SDL_TRUE);
   1.749 +  SDLTest_AssertPass("Call to SDLTest_RandomSint32BoundaryValue");
   1.750 +  SDLTest_AssertCheck(
   1.751 +    sresult == 10 || sresult == 11 || sresult == 19 || sresult == 20,
   1.752 +    "Validate result value for parameters (10,20,SDL_TRUE); expected: 10|11|19|20, got: %lld", sresult);  
   1.753 +
   1.754 +  /* RandomSintXBoundaryValue(20, 10, SDL_TRUE) returns 10, 11, 19 or 20 */
   1.755 +  sresult = (Sint64)SDLTest_RandomSint32BoundaryValue(20, 10, SDL_TRUE);
   1.756 +  SDLTest_AssertPass("Call to SDLTest_RandomSint32BoundaryValue");
   1.757 +  SDLTest_AssertCheck(
   1.758 +    sresult == 10 || sresult == 11 || sresult == 19 || sresult == 20,
   1.759 +    "Validate result value for parameters (20,10,SDL_TRUE); expected: 10|11|19|20, got: %lld", sresult);  
   1.760 +
   1.761 +  /* RandomSintXBoundaryValue(1, 20, SDL_FALSE) returns 0, 21 */
   1.762 +  sresult = (Sint64)SDLTest_RandomSint32BoundaryValue(1, 20, SDL_FALSE);
   1.763 +  SDLTest_AssertPass("Call to SDLTest_RandomSint32BoundaryValue");
   1.764 +  SDLTest_AssertCheck(
   1.765 +    sresult == 0 || sresult == 21,
   1.766 +    "Validate result value for parameters (1,20,SDL_FALSE); expected: 0|21, got: %lld", sresult);  
   1.767 +            
   1.768 +  /* RandomSintXBoundaryValue(LONG_MIN, 99, SDL_FALSE) returns 100 */
   1.769 +  sresult = (Sint64)SDLTest_RandomSint32BoundaryValue(LONG_MIN, 99, SDL_FALSE);
   1.770 +  SDLTest_AssertPass("Call to SDLTest_RandomSint32BoundaryValue");
   1.771 +  SDLTest_AssertCheck(
   1.772 +    sresult == 100,
   1.773 +    "Validate result value for parameters (LONG_MIN,99,SDL_FALSE); expected: 100, got: %lld", sresult);  
   1.774 +
   1.775 +  /* RandomSintXBoundaryValue(LONG_MIN + 1, LONG_MAX, SDL_FALSE) returns LONG_MIN (no error) */
   1.776 +  sresult = (Sint64)SDLTest_RandomSint32BoundaryValue(LONG_MIN + 1, LONG_MAX, SDL_FALSE);
   1.777 +  SDLTest_AssertPass("Call to SDLTest_RandomSint32BoundaryValue");
   1.778 +  SDLTest_AssertCheck(
   1.779 +    sresult == LONG_MIN,
   1.780 +    "Validate result value for parameters (LONG_MIN+1,LONG_MAX,SDL_FALSE); expected: %d, got: %lld", LONG_MIN, sresult);
   1.781 +  lastError = (char *)SDL_GetError();
   1.782 +  SDLTest_AssertPass("SDL_GetError()");
   1.783 +  SDLTest_AssertCheck(lastError == NULL || SDL_strlen(lastError) == 0, "Validate no error message was set");
   1.784 +
   1.785 +  /* RandomSintXBoundaryValue(LONG_MIN, LONG_MAX - 1, SDL_FALSE) returns LONG_MAX (no error) */
   1.786 +  sresult = (Sint64)SDLTest_RandomSint32BoundaryValue(LONG_MIN, LONG_MAX - 1, SDL_FALSE);
   1.787 +  SDLTest_AssertPass("Call to SDLTest_RandomSint32BoundaryValue");
   1.788 +  SDLTest_AssertCheck(
   1.789 +    sresult == LONG_MAX,
   1.790 +    "Validate result value for parameters (LONG_MIN,LONG_MAX - 1,SDL_FALSE); expected: %d, got: %lld", LONG_MAX, sresult);
   1.791 +  lastError = (char *)SDL_GetError();
   1.792 +  SDLTest_AssertPass("SDL_GetError()");
   1.793 +  SDLTest_AssertCheck(lastError == NULL || SDL_strlen(lastError) == 0, "Validate no error message was set");
   1.794 +
   1.795 +  /* RandomSintXBoundaryValue(LONG_MIN, LONG_MAX, SDL_FALSE) returns 0 (sets error) */
   1.796 +  sresult = (Sint64)SDLTest_RandomSint32BoundaryValue(LONG_MIN, LONG_MAX, SDL_FALSE);
   1.797 +  SDLTest_AssertPass("Call to SDLTest_RandomSint32BoundaryValue");
   1.798 +  SDLTest_AssertCheck(
   1.799 +    sresult == LONG_MIN,
   1.800 +    "Validate result value for parameters(LONG_MIN,LONG_MAX,SDL_FALSE); expected: %d, got: %lld", LONG_MIN, sresult);
   1.801 +  lastError = (char *)SDL_GetError();
   1.802 +  SDLTest_AssertPass("SDL_GetError()");
   1.803 +  SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0,
   1.804 +             "SDL_GetError(): expected message '%s', was message: '%s'",
   1.805 +             expectedError,
   1.806 +             lastError);
   1.807 +
   1.808 +  /* Clear error messages */
   1.809 +  SDL_ClearError();
   1.810 +  SDLTest_AssertPass("SDL_ClearError()");
   1.811 +
   1.812 +  return TEST_COMPLETED;
   1.813 +}
   1.814 +
   1.815 +/*
   1.816 + * @brief Calls to random boundary number generators for Sint64
   1.817 + */
   1.818 +int
   1.819 +sdltest_randomBoundaryNumberSint64(void *arg)
   1.820 +{
   1.821 +  const char *expectedError = "That operation is not supported";
   1.822 +  char *lastError;
   1.823 +  Sint64 sresult;
   1.824 +
   1.825 +  /* Clean error messages */
   1.826 +  SDL_ClearError();
   1.827 +  SDLTest_AssertPass("SDL_ClearError()");
   1.828 +
   1.829 +  /* RandomSintXBoundaryValue(10, 10, SDL_TRUE) returns 10 */
   1.830 +  sresult = (Sint64)SDLTest_RandomSint64BoundaryValue(10, 10, SDL_TRUE);
   1.831 +  SDLTest_AssertPass("Call to SDLTest_RandomSint64BoundaryValue");
   1.832 +  SDLTest_AssertCheck(
   1.833 +    sresult == 10,
   1.834 +    "Validate result value for parameters (10,10,SDL_TRUE); expected: 10, got: %lld", sresult);  
   1.835 +
   1.836 +  /* RandomSintXBoundaryValue(10, 11, SDL_TRUE) returns 10, 11 */
   1.837 +  sresult = (Sint64)SDLTest_RandomSint64BoundaryValue(10, 11, SDL_TRUE);
   1.838 +  SDLTest_AssertPass("Call to SDLTest_RandomSint64BoundaryValue");
   1.839 +  SDLTest_AssertCheck(
   1.840 +    sresult == 10 || sresult == 11,
   1.841 +    "Validate result value for parameters (10,11,SDL_TRUE); expected: 10|11, got: %lld", sresult);  
   1.842 +
   1.843 +  /* RandomSintXBoundaryValue(10, 12, SDL_TRUE) returns 10, 11, 12 */
   1.844 +  sresult = (Sint64)SDLTest_RandomSint64BoundaryValue(10, 12, SDL_TRUE);
   1.845 +  SDLTest_AssertPass("Call to SDLTest_RandomSint64BoundaryValue");
   1.846 +  SDLTest_AssertCheck(
   1.847 +    sresult == 10 || sresult == 11 || sresult == 12,
   1.848 +    "Validate result value for parameters (10,12,SDL_TRUE); expected: 10|11|12, got: %lld", sresult);  
   1.849 +
   1.850 +  /* RandomSintXBoundaryValue(10, 13, SDL_TRUE) returns 10, 11, 12, 13 */
   1.851 +  sresult = (Sint64)SDLTest_RandomSint64BoundaryValue(10, 13, SDL_TRUE);
   1.852 +  SDLTest_AssertPass("Call to SDLTest_RandomSint64BoundaryValue");
   1.853 +  SDLTest_AssertCheck(
   1.854 +    sresult == 10 || sresult == 11 || sresult == 12 || sresult == 13,
   1.855 +    "Validate result value for parameters (10,13,SDL_TRUE); expected: 10|11|12|13, got: %lld", sresult);  
   1.856 +
   1.857 +  /* RandomSintXBoundaryValue(10, 20, SDL_TRUE) returns 10, 11, 19 or 20 */
   1.858 +  sresult = (Sint64)SDLTest_RandomSint64BoundaryValue(10, 20, SDL_TRUE);
   1.859 +  SDLTest_AssertPass("Call to SDLTest_RandomSint64BoundaryValue");
   1.860 +  SDLTest_AssertCheck(
   1.861 +    sresult == 10 || sresult == 11 || sresult == 19 || sresult == 20,
   1.862 +    "Validate result value for parameters (10,20,SDL_TRUE); expected: 10|11|19|20, got: %lld", sresult);  
   1.863 +
   1.864 +  /* RandomSintXBoundaryValue(20, 10, SDL_TRUE) returns 10, 11, 19 or 20 */
   1.865 +  sresult = (Sint64)SDLTest_RandomSint64BoundaryValue(20, 10, SDL_TRUE);
   1.866 +  SDLTest_AssertPass("Call to SDLTest_RandomSint64BoundaryValue");
   1.867 +  SDLTest_AssertCheck(
   1.868 +    sresult == 10 || sresult == 11 || sresult == 19 || sresult == 20,
   1.869 +    "Validate result value for parameters (20,10,SDL_TRUE); expected: 10|11|19|20, got: %lld", sresult);  
   1.870 +
   1.871 +  /* RandomSintXBoundaryValue(1, 20, SDL_FALSE) returns 0, 21 */
   1.872 +  sresult = (Sint64)SDLTest_RandomSint64BoundaryValue(1, 20, SDL_FALSE);
   1.873 +  SDLTest_AssertPass("Call to SDLTest_RandomSint64BoundaryValue");
   1.874 +  SDLTest_AssertCheck(
   1.875 +    sresult == 0 || sresult == 21,
   1.876 +    "Validate result value for parameters (1,20,SDL_FALSE); expected: 0|21, got: %lld", sresult);  
   1.877 +            
   1.878 +  /* RandomSintXBoundaryValue(LLONG_MIN, 99, SDL_FALSE) returns 100 */
   1.879 +  sresult = (Sint64)SDLTest_RandomSint64BoundaryValue(LLONG_MIN, 99, SDL_FALSE);
   1.880 +  SDLTest_AssertPass("Call to SDLTest_RandomSint64BoundaryValue");
   1.881 +  SDLTest_AssertCheck(
   1.882 +    sresult == 100,
   1.883 +    "Validate result value for parameters (LLONG_MIN,99,SDL_FALSE); expected: 100, got: %lld", sresult);  
   1.884 +
   1.885 +  /* RandomSintXBoundaryValue(LLONG_MIN + 1, LLONG_MAX, SDL_FALSE) returns LLONG_MIN (no error) */
   1.886 +  sresult = (Sint64)SDLTest_RandomSint64BoundaryValue(LLONG_MIN + 1, LLONG_MAX, SDL_FALSE);
   1.887 +  SDLTest_AssertPass("Call to SDLTest_RandomSint64BoundaryValue");
   1.888 +  SDLTest_AssertCheck(
   1.889 +    sresult == LLONG_MIN,
   1.890 +    "Validate result value for parameters (LLONG_MIN+1,LLONG_MAX,SDL_FALSE); expected: %lld, got: %lld", LLONG_MIN, sresult);
   1.891 +  lastError = (char *)SDL_GetError();
   1.892 +  SDLTest_AssertPass("SDL_GetError()");
   1.893 +  SDLTest_AssertCheck(lastError == NULL || SDL_strlen(lastError) == 0, "Validate no error message was set");
   1.894 +
   1.895 +  /* RandomSintXBoundaryValue(LLONG_MIN, LLONG_MAX - 1, SDL_FALSE) returns LLONG_MAX (no error) */
   1.896 +  sresult = (Sint64)SDLTest_RandomSint64BoundaryValue(LLONG_MIN, LLONG_MAX - 1, SDL_FALSE);
   1.897 +  SDLTest_AssertPass("Call to SDLTest_RandomSint64BoundaryValue");
   1.898 +  SDLTest_AssertCheck(
   1.899 +    sresult == LLONG_MAX,
   1.900 +    "Validate result value for parameters (LLONG_MIN,LLONG_MAX - 1,SDL_FALSE); expected: %lld, got: %lld", LLONG_MAX, sresult);
   1.901 +  lastError = (char *)SDL_GetError();
   1.902 +  SDLTest_AssertPass("SDL_GetError()");
   1.903 +  SDLTest_AssertCheck(lastError == NULL || SDL_strlen(lastError) == 0, "Validate no error message was set");
   1.904 +
   1.905 +  /* RandomSintXBoundaryValue(LLONG_MIN, LLONG_MAX, SDL_FALSE) returns 0 (sets error) */
   1.906 +  sresult = (Sint64)SDLTest_RandomSint64BoundaryValue(LLONG_MIN, LLONG_MAX, SDL_FALSE);
   1.907 +  SDLTest_AssertPass("Call to SDLTest_RandomSint64BoundaryValue");
   1.908 +  SDLTest_AssertCheck(
   1.909 +    sresult == LLONG_MIN,
   1.910 +    "Validate result value for parameters(LLONG_MIN,LLONG_MAX,SDL_FALSE); expected: %lld, got: %lld", LLONG_MIN, sresult);
   1.911 +  lastError = (char *)SDL_GetError();
   1.912 +  SDLTest_AssertPass("SDL_GetError()");
   1.913 +  SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0,
   1.914 +             "SDL_GetError(): expected message '%s', was message: '%s'",
   1.915 +             expectedError,
   1.916 +             lastError);
   1.917 +
   1.918 +  /* Clear error messages */
   1.919 +  SDL_ClearError();
   1.920 +  SDLTest_AssertPass("SDL_ClearError()");
   1.921 +
   1.922 +  return TEST_COMPLETED;
   1.923 +}
   1.924 +
   1.925 +
   1.926  /* ================= Test References ================== */
   1.927  
   1.928  /* SDL_test test cases */
   1.929 @@ -124,9 +994,34 @@
   1.930  static const SDLTest_TestCaseReference sdltestTest2 =
   1.931  		{ (SDLTest_TestCaseFp)sdltest_randomNumber, "sdltest_randomNumber", "Calls to random number generators", TEST_ENABLED };
   1.932  
   1.933 +static const SDLTest_TestCaseReference sdltestTest3 =
   1.934 +		{ (SDLTest_TestCaseFp)sdltest_randomBoundaryNumberUint8, "sdltest_randomBoundaryNumberUint8", "Calls to random boundary number generators for Uint8", TEST_ENABLED };
   1.935 +
   1.936 +static const SDLTest_TestCaseReference sdltestTest4 =
   1.937 +		{ (SDLTest_TestCaseFp)sdltest_randomBoundaryNumberUint16, "sdltest_randomBoundaryNumberUint16", "Calls to random boundary number generators for Uint16", TEST_ENABLED };
   1.938 +
   1.939 +static const SDLTest_TestCaseReference sdltestTest5 =
   1.940 +		{ (SDLTest_TestCaseFp)sdltest_randomBoundaryNumberUint32, "sdltest_randomBoundaryNumberUint32", "Calls to random boundary number generators for Uint32", TEST_ENABLED };
   1.941 +
   1.942 +static const SDLTest_TestCaseReference sdltestTest6 =
   1.943 +		{ (SDLTest_TestCaseFp)sdltest_randomBoundaryNumberUint64, "sdltest_randomBoundaryNumberUint64", "Calls to random boundary number generators for Uint64", TEST_ENABLED };
   1.944 +
   1.945 +static const SDLTest_TestCaseReference sdltestTest7 =
   1.946 +		{ (SDLTest_TestCaseFp)sdltest_randomBoundaryNumberSint8, "sdltest_randomBoundaryNumberSint8", "Calls to random boundary number generators for Sint8", TEST_ENABLED };
   1.947 +
   1.948 +static const SDLTest_TestCaseReference sdltestTest8 =
   1.949 +		{ (SDLTest_TestCaseFp)sdltest_randomBoundaryNumberSint16, "sdltest_randomBoundaryNumberSint16", "Calls to random boundary number generators for Sint16", TEST_ENABLED };
   1.950 +
   1.951 +static const SDLTest_TestCaseReference sdltestTest9 =
   1.952 +		{ (SDLTest_TestCaseFp)sdltest_randomBoundaryNumberSint32, "sdltest_randomBoundaryNumberSint32", "Calls to random boundary number generators for Sint32", TEST_ENABLED };
   1.953 +
   1.954 +static const SDLTest_TestCaseReference sdltestTest10 =
   1.955 +		{ (SDLTest_TestCaseFp)sdltest_randomBoundaryNumberSint64, "sdltest_randomBoundaryNumberSint64", "Calls to random boundary number generators for Sint64", TEST_ENABLED };
   1.956 +
   1.957  /* Sequence of SDL_test test cases */
   1.958  static const SDLTest_TestCaseReference *sdltestTests[] =  {
   1.959 -	&sdltestTest1, &sdltestTest2, NULL
   1.960 +	&sdltestTest1, &sdltestTest2, &sdltestTest3, &sdltestTest4, &sdltestTest5, &sdltestTest6,
   1.961 +	&sdltestTest7, &sdltestTest8, &sdltestTest9, &sdltestTest10, NULL
   1.962  };
   1.963  
   1.964  /* SDL_test test suite (global) */