Changeset 13127 for trunk/psLib/test/types
- Timestamp:
- May 1, 2007, 6:34:14 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/types/tap_psPixels_all.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/types/tap_psPixels_all.c
r13123 r13127 21 21 int main(void) 22 22 { 23 plan_tests( 36);23 plan_tests(48); 24 24 25 25 //Tests for psPixels Functions … … 273 273 outImage = psPixelsToMask(outImage, p0, region, maskVal); 274 274 ok(outImage != NULL, "psPixelsToMask: return valid image for valid input."); 275 ok(!psMemCheckLeaks(id, NULL, NULL, false), "no memory leaks");276 }277 psFree(outImage);275 psFree(outImage); 276 ok(!psMemCheckLeaks(id, NULL, NULL, false), "no memory leaks"); 277 } 278 278 279 279 … … 321 321 322 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 323 338 //---------------------------------------------------------------------- 324 339 // psPixelsConcatenate Tests … … 340 355 outPixels = psPixelsConcatenate(outPixels, p0); 341 356 ok(outPixels->n == 4 && fabs(outPixels->data[0].x - 1.1) < FLT_EPSILON && 342 fabs(outPixels->data[0].y - 1.2) < FLT_EPSILON ,343 "psPixelsConcatenate: return copy of input pixels for NULL out input.");357 fabs(outPixels->data[0].y - 1.2) < FLT_EPSILON , 358 "psPixelsConcatenate: return copy of input pixels for NULL out input."); 344 359 psFree(outPixels); 345 360 ok(!psMemCheckLeaks(id, NULL, NULL, false), "no memory leaks");
Note:
See TracChangeset
for help on using the changeset viewer.
