Changeset 12513 for trunk/psLib/test/math
- Timestamp:
- Mar 19, 2007, 5:57:25 PM (19 years ago)
- Location:
- trunk/psLib/test/math
- Files:
-
- 4 edited
-
tap_psMD5.c (modified) (1 diff)
-
tap_psSparse.c (modified) (5 diffs)
-
tap_psStatsTiming.c (modified) (11 diffs)
-
tap_psStats_Sample_01.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/math/tap_psMD5.c
r10309 r12513 49 49 ); 50 50 51 diag("psMD5 tests");51 // diag("psMD5 tests"); 52 52 53 53 // Strings -
trunk/psLib/test/math/tap_psSparse.c
r10170 r12513 10 10 plan_tests(26); 11 11 12 diag("psSparse() tests");12 // diag("psSparse() tests"); 13 13 14 14 // test psSparseSolve for a simple normal example matrix … … 16 16 psMemId id = psMemGetId(); 17 17 18 diag ("solve a normalized matrix equation with psSparseSolve");18 // diag ("solve a normalized matrix equation with psSparseSolve"); 19 19 20 20 // the basic equation is Ax = b … … 89 89 psMemId id = psMemGetId(); 90 90 91 diag ("solve a non-normalized matrix equation with psSparseSolve");91 // diag ("solve a non-normalized matrix equation with psSparseSolve"); 92 92 93 93 // the basic equation is Ax = b … … 173 173 psMemId id = psMemGetId(); 174 174 175 diag ("solve a simple, small matrix equation ");175 // diag ("solve a simple, small matrix equation "); 176 176 177 177 // the basic equation (Ax = b) is: … … 283 283 psMemId id = psMemGetId(); 284 284 285 diag ("solve a simple, small matrix equation ");285 // diag ("solve a simple, small matrix equation "); 286 286 287 287 // the basic equation (Ax = b) is: -
trunk/psLib/test/math/tap_psStatsTiming.c
r11656 r12513 17 17 plan_tests(68); 18 18 19 diag("psStats timing tests");19 // diag("psStats timing tests"); 20 20 21 21 // build a gauss-deviate vector (mean = 0.0, sigma = 1.0) for tests … … 26 26 } 27 27 28 diag ("timing for sample mean");28 // diag ("timing for sample mean"); 29 29 /********** SAMPLE MEAN ***********/ 30 30 // test stat sample mean (no mask, no range) … … 149 149 } 150 150 151 diag ("timing for sample median");151 // diag ("timing for sample median"); 152 152 /********** SAMPLE MEDIAN ***********/ 153 153 // test stat sample median (no mask, no range) … … 243 243 } 244 244 245 diag ("timing for sample stdev");245 // diag ("timing for sample stdev"); 246 246 /********** SAMPLE STDEV ***********/ 247 247 // test stat sample stdev (no mask, no range) … … 366 366 } 367 367 368 diag ("timing for sample min,max");368 // diag ("timing for sample min,max"); 369 369 /*************** MIN,MAX ******************/ 370 370 // test stat min,max (no mask, no range) … … 456 456 } 457 457 458 diag ("timing for clipped stats");458 // diag ("timing for clipped stats"); 459 459 /********** CLIPPED STATS ***********/ 460 460 { … … 528 528 } 529 529 530 diag ("timing for robust stats");530 // diag ("timing for robust stats"); 531 531 /********** ROBUST STATS ***********/ 532 532 { … … 600 600 } 601 601 602 diag ("timing for fitted stats");602 // diag ("timing for fitted stats"); 603 603 /********** FITTED TIMING ***********/ 604 604 { … … 673 673 } 674 674 675 diag ("timing for fitted (v2) stats");675 // diag ("timing for fitted (v2) stats"); 676 676 /********** FITTED (v2) TIMING ***********/ 677 677 { … … 746 746 } 747 747 748 diag ("compare sample, robust, and fitted mean and stdev to theoretical");748 // diag ("compare sample, robust, and fitted mean and stdev to theoretical"); 749 749 // compare SAMPLE, FITTED, ROBUST mean to theoretical 750 750 { … … 785 785 } 786 786 787 diag ("compare sample, robust, and fitted mean and stdev to theoretical");787 // diag ("compare sample, robust, and fitted mean and stdev to theoretical"); 788 788 // compare SAMPLE, FITTED_V2, ROBUST mean to theoretical 789 789 { -
trunk/psLib/test/math/tap_psStats_Sample_01.c
r11424 r12513 491 491 plan_tests(21); 492 492 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"); 496 496 497 497 { 498 498 psMemId id = psMemGetId(); 499 499 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"); 501 501 psStats *stats = psStatsAlloc (PS_STAT_FITTED_MEAN | PS_STAT_FITTED_STDEV | 502 502 PS_STAT_ROBUST_MEDIAN | PS_STAT_ROBUST_STDEV | … … 536 536 psMemId id = psMemGetId(); 537 537 538 diag("sample 2");538 // diag("sample 2"); 539 539 psStats *stats = psStatsAlloc (PS_STAT_FITTED_MEAN | PS_STAT_FITTED_STDEV | 540 540 PS_STAT_ROBUST_MEDIAN | PS_STAT_ROBUST_STDEV | … … 571 571 psMemId id = psMemGetId(); 572 572 573 diag("sample 3");573 // diag("sample 3"); 574 574 psStats *stats = psStatsAlloc (PS_STAT_FITTED_MEAN | PS_STAT_FITTED_STDEV | 575 575 PS_STAT_ROBUST_MEDIAN | PS_STAT_ROBUST_STDEV |
Note:
See TracChangeset
for help on using the changeset viewer.
