Esme Povirk (@madewokherd) commented about dlls/windowscodecs/tests/bitmap.c:
- rc.Y = 0;
- rc.Width = width;
- rc.Height = height;
- memset(buf, 0, sizeof(buf));
- hr = IWICBitmapFlipRotator_CopyPixels(fr, &rc, 2, sizeof(buf), buf);
- todo_wine
- ok(hr == S_OK, "got %#lx\n", hr);
- ret = !memcmp(buf, data_rotate90, sizeof(data_rotate90));
- todo_wine
- ok(ret, "data mismatch\n");
- if (!ret && winetest_debug > 1)
- {
printf("got data:\n");
for (i = 0; i < sizeof(buf); i++)
printf(" %u", buf[i]);
printf("\n");
Should we be using printf in tests?