Changeset 11685
- Timestamp:
- Feb 7, 2007, 12:50:18 PM (19 years ago)
- Location:
- trunk/psLib/test
- Files:
-
- 6 edited
-
fft/tap_psImageFFT.c (modified) (2 diffs)
-
imageops/tap_psImagePixelManip.c (modified) (2 diffs)
-
math/tap_psMatrix07.c (modified) (3 diffs)
-
math/tap_psStats07.c (modified) (1 diff)
-
math/tap_psStats09.c (modified) (1 diff)
-
sys/tap_psConfigure.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/fft/tap_psImageFFT.c
r11439 r11685 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $9 * @date $Date: 2007-0 1-30 21:32:56$8 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2007-02-07 22:50:18 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 529 529 psU32 n = 64; 530 530 GENIMAGE(img,m,n,C32, row + I * col); 531 psImage* img2 = psImageReal( img2,img);531 psImage* img2 = psImageReal(NULL,img); 532 532 ok(img2 != NULL, "psImageReal returned non-NULL"); 533 533 skip_start(img2 == NULL, 4, "Skipping tests because psImageReal() returned NULL"); -
trunk/psLib/test/imageops/tap_psImagePixelManip.c
r11398 r11685 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $9 * @date $Date: 2007-0 1-30 00:13:01$8 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2007-02-07 22:50:18 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 155 155 156 156 157 psF64 min ;158 psF64 max ;157 psF64 min=0.0; 158 psF64 max=0.0; 159 159 psS32 retVal; 160 160 psImage *img = NULL; -
trunk/psLib/test/math/tap_psMatrix07.c
r10816 r11685 17 17 * @author Ross Harman, MHPCC 18 18 * 19 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $20 * @date $Date: 200 6-12-20 20:02:29$19 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 20 * @date $Date: 2007-02-07 22:50:18 $ 21 21 * 22 22 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 204 204 psVector *v1 = (psVector*)psVectorAlloc(3, PS_TYPE_F64); 205 205 ok(psMatrixToVector(v1, badImage) == NULL, "psMatrixToVector() returned NULL with improper sizes"); 206 psFree(badImage) 207 psFree(v1) 206 psFree(badImage); 207 psFree(v1); 208 208 ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks"); 209 209 } … … 216 216 psVector *v1_32 = (psVector*)psVectorAlloc(3, PS_TYPE_F32); 217 217 ok(psMatrixToVector(v1_32, badImage_32) == NULL, "psMatrixToVector() returned NULL with improper sizes"); 218 psFree(badImage_32) 219 psFree(v1_32) 218 psFree(badImage_32); 219 psFree(v1_32); 220 220 ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks"); 221 221 } -
trunk/psLib/test/math/tap_psStats07.c
r11265 r11685 307 307 // We will use this later in determining if the clipped stats are correct. 308 308 // 309 psF32 sampleMean ;310 psF32 sampleStdev ;311 psF32 sampleMedian ;312 psF32 sampleLQ ;313 psF32 sampleUQ ;309 psF32 sampleMean=0.0; 310 psF32 sampleStdev=0.0; 311 psF32 sampleMedian=0.0; 312 psF32 sampleLQ=0.0; 313 psF32 sampleUQ=0.0; 314 314 if (expectedRC == true) { 315 315 psStats *myStats = psStatsAlloc(PS_STAT_SAMPLE_MEAN | PS_STAT_SAMPLE_STDEV | PS_STAT_SAMPLE_MEDIAN | PS_STAT_SAMPLE_QUARTILE); -
trunk/psLib/test/math/tap_psStats09.c
r11265 r11685 276 276 // We will use this later in determining if the clipped stats are correct. 277 277 // 278 psF32 sampleMean ;279 psF32 sampleStdev ;278 psF32 sampleMean=0.0; 279 psF32 sampleStdev=0.0; 280 280 if (expectedRC == true) { 281 281 psStats *myStats = psStatsAlloc(PS_STAT_SAMPLE_MEAN | PS_STAT_SAMPLE_STDEV); -
trunk/psLib/test/sys/tap_psConfigure.c
r10810 r11685 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $14 * @date $Date: 200 6-12-18 19:18:46$13 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2007-02-07 22:50:18 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 21 21 #include "tap.h" 22 22 #include "pstap.h" 23 #include "string.h" 23 24 24 25
Note:
See TracChangeset
for help on using the changeset viewer.
