Changeset 13127
- Timestamp:
- May 1, 2007, 6:34:14 PM (19 years ago)
- Location:
- trunk/psLib/test
- Files:
-
- 1 added
- 4 edited
-
imageops/tap_psImagePixelExtract.c (modified) (3 diffs)
-
math/Makefile.am (modified) (1 diff)
-
math/tap_psHistogram.c (added)
-
math/tap_psPolynomialEval3D.c (modified) (2 diffs)
-
types/tap_psPixels_all.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/imageops/tap_psImagePixelExtract.c
r13123 r13127 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $9 * @date $Date: 2007-05-02 04: 14:33 $8 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2007-05-02 04:34:13 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 853 853 854 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 855 869 // testImageRowColF64() 856 870 { … … 859 873 psVector *empty = NULL; 860 874 psImage *image = NULL; 861 psImage *emptyImage = NULL;862 875 863 876 image = psImageAlloc(3, 3, PS_TYPE_F64); -
trunk/psLib/test/math/Makefile.am
r13123 r13127 13 13 14 14 TEST_PROGS = \ 15 tap_psHist00 \ 16 tap_psHist01 \ 17 tap_psHist02 \ 18 tap_psHist03 \ 15 tap_psHistogram \ 19 16 tap_psMD5 \ 20 17 tap_psMatrix01 \ -
trunk/psLib/test/math/tap_psPolynomialEval3D.c
r13124 r13127 4 4 * ORD and CHEB type polynomials. 5 5 * 6 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-05-02 04: 20:06$6 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-05-02 04:34:13 $ 8 8 * 9 9 * Copyright 2004-2005 Maui High Performance Computing Center, Univ. of Hawaii … … 121 121 psLogSetFormat("HLNM"); 122 122 psLogSetLevel(PS_LOG_INFO); 123 plan_tests(4 4);123 plan_tests(48); 124 124 125 125 -
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.
