test/testautomation_pixels.c
changeset 7162 f2fb5a030227
parent 7153 51cf5475ac56
child 7191 75360622e65f
equal deleted inserted replaced
7161:1619292eec30 7162:f2fb5a030227
   450     switch (variation) {
   450     switch (variation) {
   451       case 0:
   451       case 0:
   452         SDLTest_AssertCheck(ramp[i] == 0, "Validate value at position %d; expected: 0, got: %d", i, ramp[i]);
   452         SDLTest_AssertCheck(ramp[i] == 0, "Validate value at position %d; expected: 0, got: %d", i, ramp[i]);
   453         break;
   453         break;
   454       case 1:
   454       case 1:
   455         SDLTest_AssertCheck(ramp[i] == (i << 8) | i, "Validate value at position %d; expected: %d, got: %d", i, (i << 8) | i, ramp[i]);
   455         SDLTest_AssertCheck(ramp[i] == ((i << 8) | i), "Validate value at position %d; expected: %d, got: %d", i, (i << 8) | i, ramp[i]);
   456         break;
   456         break;
   457       case 2:
   457       case 2:
   458       case 3:
   458       case 3:
   459         SDLTest_AssertCheck(ramp[i] > 0, "Validate value at position %d; expected: >0, got: %d", i, ramp[i]);
   459         SDLTest_AssertCheck(ramp[i] > 0, "Validate value at position %d; expected: >0, got: %d", i, ramp[i]);
   460         break;
   460         break;