IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 19, 2007, 5:57:25 PM (19 years ago)
Author:
jhoblitt
Message:

disable unnecessary diag() calls

Location:
trunk/psLib/test/math
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/math/tap_psMD5.c

    r10309 r12513  
    4949              );
    5050
    51     diag("psMD5 tests");
     51//    diag("psMD5 tests");
    5252
    5353    // Strings
  • trunk/psLib/test/math/tap_psSparse.c

    r10170 r12513  
    1010    plan_tests(26);
    1111
    12     diag("psSparse() tests");
     12//    diag("psSparse() tests");
    1313
    1414    // test psSparseSolve for a simple normal example matrix
     
    1616        psMemId id = psMemGetId();
    1717
    18         diag ("solve a normalized matrix equation with psSparseSolve");
     18//        diag ("solve a normalized matrix equation with psSparseSolve");
    1919
    2020        // the basic equation is Ax = b
     
    8989        psMemId id = psMemGetId();
    9090
    91         diag ("solve a non-normalized matrix equation with psSparseSolve");
     91//        diag ("solve a non-normalized matrix equation with psSparseSolve");
    9292
    9393        // the basic equation is Ax = b
     
    173173        psMemId id = psMemGetId();
    174174
    175         diag ("solve a simple, small matrix equation ");
     175//        diag ("solve a simple, small matrix equation ");
    176176
    177177        // the basic equation (Ax = b) is:
     
    283283        psMemId id = psMemGetId();
    284284
    285         diag ("solve a simple, small matrix equation ");
     285//        diag ("solve a simple, small matrix equation ");
    286286
    287287        // the basic equation (Ax = b) is:
  • trunk/psLib/test/math/tap_psStatsTiming.c

    r11656 r12513  
    1717    plan_tests(68);
    1818
    19     diag("psStats timing tests");
     19//    diag("psStats timing tests");
    2020
    2121    // build a gauss-deviate vector (mean = 0.0, sigma = 1.0) for tests
     
    2626    }
    2727
    28     diag ("timing for sample mean");
     28//    diag ("timing for sample mean");
    2929    /********** SAMPLE MEAN ***********/
    3030    // test stat sample mean (no mask, no range)
     
    149149    }
    150150
    151     diag ("timing for sample median");
     151//    diag ("timing for sample median");
    152152    /********** SAMPLE MEDIAN ***********/
    153153    // test stat sample median (no mask, no range)
     
    243243    }
    244244
    245     diag ("timing for sample stdev");
     245//    diag ("timing for sample stdev");
    246246    /********** SAMPLE STDEV ***********/
    247247    // test stat sample stdev (no mask, no range)
     
    366366    }
    367367
    368     diag ("timing for sample min,max");
     368//    diag ("timing for sample min,max");
    369369    /*************** MIN,MAX ******************/
    370370    // test stat min,max (no mask, no range)
     
    456456    }
    457457
    458     diag ("timing for clipped stats");
     458//    diag ("timing for clipped stats");
    459459    /********** CLIPPED STATS ***********/
    460460    {
     
    528528    }
    529529
    530     diag ("timing for robust stats");
     530//    diag ("timing for robust stats");
    531531    /********** ROBUST STATS ***********/
    532532    {
     
    600600    }
    601601
    602     diag ("timing for fitted stats");
     602//    diag ("timing for fitted stats");
    603603    /********** FITTED TIMING ***********/
    604604    {
     
    673673    }
    674674
    675     diag ("timing for fitted (v2) stats");
     675//    diag ("timing for fitted (v2) stats");
    676676    /********** FITTED (v2) TIMING ***********/
    677677    {
     
    746746    }
    747747
    748     diag ("compare sample, robust, and fitted mean and stdev to theoretical");
     748//    diag ("compare sample, robust, and fitted mean and stdev to theoretical");
    749749    // compare SAMPLE, FITTED, ROBUST mean to theoretical
    750750    {
     
    785785    }
    786786
    787     diag ("compare sample, robust, and fitted mean and stdev to theoretical");
     787//    diag ("compare sample, robust, and fitted mean and stdev to theoretical");
    788788    // compare SAMPLE, FITTED_V2, ROBUST mean to theoretical
    789789    {
  • trunk/psLib/test/math/tap_psStats_Sample_01.c

    r11424 r12513  
    491491    plan_tests(21);
    492492
    493     diag("psStats Tests with sample SDSS data from RHL and Megacam from EAM");
    494     diag("this file does not yet define a specific test");
    495     diag("the fitted mean is currently wrong for these two data sets");
     493//    diag("psStats Tests with sample SDSS data from RHL and Megacam from EAM");
     494//    diag("this file does not yet define a specific test");
     495//    diag("the fitted mean is currently wrong for these two data sets");
    496496
    497497    {
    498498        psMemId id = psMemGetId();
    499499
    500         diag("sample 1 : problem with integer-binned data driven to tiny sigma values");
     500//        diag("sample 1 : problem with integer-binned data driven to tiny sigma values");
    501501        psStats *stats = psStatsAlloc (PS_STAT_FITTED_MEAN | PS_STAT_FITTED_STDEV |
    502502                                       PS_STAT_ROBUST_MEDIAN | PS_STAT_ROBUST_STDEV |
     
    536536        psMemId id = psMemGetId();
    537537
    538         diag("sample 2");
     538//        diag("sample 2");
    539539        psStats *stats = psStatsAlloc (PS_STAT_FITTED_MEAN | PS_STAT_FITTED_STDEV |
    540540                                       PS_STAT_ROBUST_MEDIAN | PS_STAT_ROBUST_STDEV |
     
    571571        psMemId id = psMemGetId();
    572572
    573         diag("sample 3");
     573//        diag("sample 3");
    574574        psStats *stats = psStatsAlloc (PS_STAT_FITTED_MEAN | PS_STAT_FITTED_STDEV |
    575575                                       PS_STAT_ROBUST_MEDIAN | PS_STAT_ROBUST_STDEV |
Note: See TracChangeset for help on using the changeset viewer.