fix tests...

SVN revision: 38785
expedite-1.1
Carsten Haitzler 14 years ago
parent eb4dcda378
commit 1ebcebfc0f
  1. 4
      src/bin/image_blend_fade_pow2_unscaled.c
  2. 4
      src/bin/image_blend_solid_fade_pow2_unscaled.c
  3. 4
      src/bin/rect_blend_pow2.c
  4. 4
      src/bin/rect_blend_pow2_few.c

@ -30,8 +30,8 @@ static void _setup(void)
evas_object_image_file_set(o, build_path("logo.png"), NULL);
evas_object_image_fill_set(o, 0, 0, 120, 160);
evas_object_resize(o, 120, 160);
a = 256 - (1 << (rnd() & 0x7));
if (a > 255) a = 255;
a = 256 - (1 << ((rnd() % 8) + 1));
if (a < 128) a = 128;
evas_object_color_set(o, a, a, a, a);
evas_object_show(o);
}

@ -30,8 +30,8 @@ static void _setup(void)
evas_object_image_file_set(o, build_path("image.png"), NULL);
evas_object_image_fill_set(o, 0, 0, 120, 160);
evas_object_resize(o, 120, 160);
a = 256 - (1 << (rnd() & 0x7));
if (a > 255) a = 255;
a = 256 - (1 << ((rnd() % 8) + 1));
if (a < 128) a = 128;
evas_object_color_set(o, a, a, a, a);
evas_object_show(o);
}

@ -28,8 +28,8 @@ static void _setup(void)
o = evas_object_rectangle_add(evas);
o_images[i] = o;
a = 256 - (1 << (rnd() & 0x7));
if (a > 255) a = 255;
a = 256 - (1 << ((rnd() % 8) + 1));
if (a < 128) a = 128;
r = ((rnd()&0xff) * a) / 255;
g = ((rnd()&0xff) * a) / 255;
b = ((rnd()&0xff) * a) / 255;

@ -31,8 +31,8 @@ static void _setup(void)
o = evas_object_rectangle_add(evas);
o_images[i] = o;
a = 256 - (1 << (rnd() & 0x7));
if (a > 255) a = 255;
a = 256 - (1 << ((rnd() % 8) + 1));
if (a < 128) a = 128;
r = ((rnd()&0xff) * a) / 255;
g = ((rnd()&0xff) * a) / 255;
b = ((rnd()&0xff) * a) / 255;

Loading…
Cancel
Save