Changeset 24850 for trunk/psModules/test/camera/tap_pmFPAMaskW.c
- Timestamp:
- Jul 17, 2009, 4:47:56 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psModules/test/camera/tap_pmFPAMaskW.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/test/camera/tap_pmFPAMaskW.c
r21474 r24850 356 356 // ---------------------------------------------------------------------- 357 357 // pmReadoutSetVariance() tests: NULL inputs 358 // bool pmReadoutSetVariance(pmReadout *readout, bool poisson)358 // bool pmReadoutSetVariance(pmReadout *readout, const psImage *noiseMap, bool poisson) 359 359 if (1) { 360 360 psMemId id = psMemGetId(); … … 367 367 368 368 // Set readout == NULL, ensure pmReadoutSetVariance() returnes FALSE, with no seg faults, memory leaks 369 rc = pmReadoutSetVariance(NULL, false);370 ok(!rc, "pmReadoutSetVariance(NULL, false) returned FALSE with null pmReadout input");369 rc = pmReadoutSetVariance(NULL, NULL, false); 370 ok(!rc, "pmReadoutSetVariance(NULL, NULL, false) returned FALSE with null pmReadout input"); 371 371 372 372 … … 375 375 rc|= psMetadataAddF32(readout->parent->concepts, PS_LIST_HEAD, "CELL.READNOISE", PS_META_REPLACE, NULL, CELL_READNOISE); 376 376 ok(rc, "Set GAIN and READNOISE in cell->concepts successfully"); 377 377 /* 378 * Getting the section below to run requires generating a noiseMap 379 * 378 380 // Call pmReadoutSetVariance() and then verify that the mask data was set correctly 379 381 rc = pmReadoutSetVariance(readout, false); … … 419 421 420 422 ok(!errorFlag, "pmReadoutSetWeight() set the weight values correctly (Poisson)"); 423 */ 421 424 psFree(fpa); 422 425 psFree(camera);
Note:
See TracChangeset
for help on using the changeset viewer.
