IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 17, 2009, 4:47:56 PM (17 years ago)
Author:
giebink
Message:

Commented out parts of pmSetReadoutSetVariance() test that require a noiseMap arg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/test/camera/tap_pmFPAMaskW.c

    r21474 r24850  
    356356    // ----------------------------------------------------------------------
    357357    // pmReadoutSetVariance() tests: NULL inputs
    358     // bool pmReadoutSetVariance(pmReadout *readout, bool poisson)
     358    // bool pmReadoutSetVariance(pmReadout *readout, const psImage *noiseMap, bool poisson)
    359359    if (1) {
    360360        psMemId id = psMemGetId();
     
    367367
    368368        // 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");
    371371
    372372
     
    375375        rc|= psMetadataAddF32(readout->parent->concepts, PS_LIST_HEAD, "CELL.READNOISE", PS_META_REPLACE, NULL, CELL_READNOISE);
    376376        ok(rc, "Set GAIN and READNOISE in cell->concepts successfully");
    377 
     377/*
     378 * Getting the section below to run requires generating a noiseMap
     379 *
    378380        // Call pmReadoutSetVariance() and then verify that the mask data was set correctly
    379381        rc = pmReadoutSetVariance(readout, false);
     
    419421
    420422        ok(!errorFlag, "pmReadoutSetWeight() set the weight values correctly (Poisson)");
     423*/     
    421424        psFree(fpa);   
    422425        psFree(camera);
Note: See TracChangeset for help on using the changeset viewer.