Changeset 3127 for trunk/psLib/test/dataManip
- Timestamp:
- Feb 4, 2005, 12:49:39 PM (21 years ago)
- Location:
- trunk/psLib
- Files:
-
- 18 edited
-
. (modified) (1 prop)
-
test/dataManip/Makefile.am (modified) (3 diffs)
-
test/dataManip/verified/tst_psFunc02.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psHist00.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psHist02.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psMatrix02.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psMatrix03.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psMatrix04.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psMatrix07.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psMatrixVectorArithmetic03.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psMinimize04.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psMinimize04_F32.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psMinimize04b.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psMinimize04b_F32.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psMinimize05.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psRandom.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psStats00.stderr (modified) (1 diff)
-
test/dataManip/verified/tst_psVectorFFT.stderr (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib
- Property svn:ignore
-
old new 1 DoxygenLog 1 2 bin 2 3 lib
-
- Property svn:ignore
-
trunk/psLib/test/dataManip/Makefile.am
r3115 r3127 1 #Makefile for astronomyfunctions of psLib1 #Makefile for dataManip functions of psLib 2 2 # 3 EXTRA_DIST = verified 4 3 5 INCLUDES = \ 4 6 -I$(top_srcdir)/src \ … … 11 13 $(all_includes) 12 14 13 AM_LDFLAGS = -L$(top_ srcdir)/src `sh $(top_srcdir)/pslib-config --libs`15 AM_LDFLAGS = -L$(top_builddir)/src $(PSLIB_LIBS) 14 16 15 17 check_PROGRAMS = \ … … 55 57 tst_psVectorFFT 56 58 57 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 59 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest -verified=$(srcdir)/verified 58 60 TESTS = \ 59 61 tst_psFunc00 \ -
trunk/psLib/test/dataManip/verified/tst_psFunc02.stderr
r2717 r3127 1 1 <DATE><TIME>|<HOST>|I|main 2 2 Following should generate an error message. 3 <DATE><TIME>|<HOST>|E|psSpline1DAlloc ( psFunctions.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psSpline1DAlloc (FILE:LINENO) 4 4 Error: max and min are equal. 5 5 <DATE><TIME>|<HOST>|I|main 6 6 Following should generate an error message 7 <DATE><TIME>|<HOST>|E|psSpline1DAlloc ( psFunctions.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psSpline1DAlloc (FILE:LINENO) 8 8 Error: max and min are equal. 9 9 <DATE><TIME>|<HOST>|I|main 10 10 Following should generate an error message. 11 <DATE><TIME>|<HOST>|E|psSpline1DAllocGeneric ( psFunctions.c:<LINENO>)11 <DATE><TIME>|<HOST>|E|psSpline1DAllocGeneric (FILE:LINENO) 12 12 Error: order is less than 0. 13 13 <DATE><TIME>|<HOST>|I|main 14 14 Following should generate an error message. 15 <DATE><TIME>|<HOST>|E|psSpline1DAllocGeneric ( psFunctions.c:<LINENO>)15 <DATE><TIME>|<HOST>|E|psSpline1DAllocGeneric (FILE:LINENO) 16 16 Unallowable operation: psVector bounds or its data is NULL. 17 17 <DATE><TIME>|<HOST>|I|main 18 18 Following should generate an error message. 19 <DATE><TIME>|<HOST>|E|psSpline1DAllocGeneric ( psFunctions.c:<LINENO>)19 <DATE><TIME>|<HOST>|E|psSpline1DAllocGeneric (FILE:LINENO) 20 20 Unallowable operation: psVector bounds has no elements. -
trunk/psLib/test/dataManip/verified/tst_psHist00.stderr
r2718 r3127 1 1 <DATE><TIME>|<HOST>|I|main 2 2 Following should generate an error message. 3 <DATE><TIME>|<HOST>|E|psHistogramAlloc ( psStats.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psHistogramAlloc (FILE:LINENO) 4 4 Error: (lower > upper) (30.000000 20.000000) -
trunk/psLib/test/dataManip/verified/tst_psHist02.stderr
r2721 r3127 1 1 <DATE><TIME>|<HOST>|I|main 2 2 Following should generate an error message. 3 <DATE><TIME>|<HOST>|E|psVectorHistogram ( psStats.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psVectorHistogram (FILE:LINENO) 4 4 Unallowable operation: out is NULL. 5 5 <DATE><TIME>|<HOST>|I|main 6 6 Following should generate an error message. 7 <DATE><TIME>|<HOST>|E|psVectorHistogram ( psStats.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psVectorHistogram (FILE:LINENO) 8 8 Unallowable operation: psVector in or its data is NULL. -
trunk/psLib/test/dataManip/verified/tst_psMatrix02.stderr
r2678 r3127 1 <DATE><TIME>|<HOST>|E|psMatrixTranspose ( psMatrix.c:<LINENO>)1 <DATE><TIME>|<HOST>|E|psMatrixTranspose (FILE:LINENO) 2 2 Invalid operation: Pointer to inImage is same as outImage. 3 <DATE><TIME>|<HOST>|E|psMatrixTranspose ( psMatrix.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psMatrixTranspose (FILE:LINENO) 4 4 Unallowable operation: psImage inImage or its data is NULL. 5 <DATE><TIME>|<HOST>|E|psMatrixTranspose ( psMatrix.c:<LINENO>)5 <DATE><TIME>|<HOST>|E|psMatrixTranspose (FILE:LINENO) 6 6 Invalid operation. inImage not PS_TYPE_F64. -
trunk/psLib/test/dataManip/verified/tst_psMatrix03.stderr
r2682 r3127 1 <DATE><TIME>|<HOST>|E|psMatrixLUD ( psMatrix.c:<LINENO>)1 <DATE><TIME>|<HOST>|E|psMatrixLUD (FILE:LINENO) 2 2 Unallowable operation: psImage inImage or its data is NULL. 3 <DATE><TIME>|<HOST>|E|psMatrixLUSolve ( psMatrix.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psMatrixLUSolve (FILE:LINENO) 4 4 Unallowable operation: psVector inVector or its data is NULL. 5 <DATE><TIME>|<HOST>|E|psMatrixLUSolve ( psMatrix.c:<LINENO>)5 <DATE><TIME>|<HOST>|E|psMatrixLUSolve (FILE:LINENO) 6 6 Unallowable operation: psImage inImage or its data is NULL. -
trunk/psLib/test/dataManip/verified/tst_psMatrix04.stderr
r2288 r3127 1 <DATE><TIME>|<HOST>|E|psMatrixInvert ( psMatrix.c:<LINENO>)1 <DATE><TIME>|<HOST>|E|psMatrixInvert (FILE:LINENO) 2 2 Unallowable operation: psImage inImage or its data is NULL. 3 <DATE><TIME>|<HOST>|E|psMatrixInvert ( psMatrix.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psMatrixInvert (FILE:LINENO) 4 4 Unallowable operation: det is NULL. -
trunk/psLib/test/dataManip/verified/tst_psMatrix07.stderr
r2696 r3127 1 <DATE><TIME>|<HOST>|E|psMatrixToVector ( psMatrix.c:<LINENO>)1 <DATE><TIME>|<HOST>|E|psMatrixToVector (FILE:LINENO) 2 2 Unallowable operation: psImage inImage or its data is NULL. 3 <DATE><TIME>|<HOST>|E|psMatrixToVector ( psMatrix.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psMatrixToVector (FILE:LINENO) 4 4 Image does not have dim with 1 col or 1 row: (2 x 2). 5 <DATE><TIME>|<HOST>|E|psVectorToMatrix ( psMatrix.c:<LINENO>)5 <DATE><TIME>|<HOST>|E|psVectorToMatrix (FILE:LINENO) 6 6 Unallowable operation: psVector inVector or its data is NULL. -
trunk/psLib/test/dataManip/verified/tst_psMatrixVectorArithmetic03.stderr
r2693 r3127 1 1 <DATE><TIME>|<HOST>|I|main 2 2 Following should generate an error message 3 <DATE><TIME>|<HOST>|E|psBinaryOp ( psMatrixVectorArithmetic.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psBinaryOp (FILE:LINENO) 4 4 Unallowable operation: input1 is NULL. 5 5 <DATE><TIME>|<HOST>|I|main 6 6 Following should generate an error message 7 <DATE><TIME>|<HOST>|E|psBinaryOp ( psMatrixVectorArithmetic.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psBinaryOp (FILE:LINENO) 8 8 Unallowable operation: input2 is NULL. 9 9 <DATE><TIME>|<HOST>|I|main 10 10 Following should generate an error message 11 <DATE><TIME>|<HOST>|E|psBinaryOp ( psMatrixVectorArithmetic.c:<LINENO>)11 <DATE><TIME>|<HOST>|E|psBinaryOp (FILE:LINENO) 12 12 Unallowable operation: op is NULL. 13 13 <DATE><TIME>|<HOST>|I|main 14 14 Following should generate an error message 15 <DATE><TIME>|<HOST>|E|psUnaryOp ( psMatrixVectorArithmetic.c:<LINENO>)15 <DATE><TIME>|<HOST>|E|psUnaryOp (FILE:LINENO) 16 16 Unallowable operation: in is NULL. 17 17 <DATE><TIME>|<HOST>|I|main 18 18 Following should generate an error message 19 <DATE><TIME>|<HOST>|E|psUnaryOp ( psMatrixVectorArithmetic.c:<LINENO>)19 <DATE><TIME>|<HOST>|E|psUnaryOp (FILE:LINENO) 20 20 Unallowable operation: op is NULL. 21 21 <DATE><TIME>|<HOST>|I|main 22 22 Following should generate an error message 23 <DATE><TIME>|<HOST>|E|psBinaryOp ( psMatrixVectorArithmetic.c:<LINENO>)23 <DATE><TIME>|<HOST>|E|psBinaryOp (FILE:LINENO) 24 24 ptr input1 has type 1028, ptr input2 has type 1032. 25 25 <DATE><TIME>|<HOST>|I|main 26 26 Following should generate an error message 27 <DATE><TIME>|<HOST>|E|psBinaryOp ( psMatrixVectorArithmetic.c:<LINENO>)27 <DATE><TIME>|<HOST>|E|psBinaryOp (FILE:LINENO) 28 28 Specified psImage dimensions differed, 2x2 vs 3x3. 29 29 <DATE><TIME>|<HOST>|I|main 30 30 Following should generate an error message 31 <DATE><TIME>|<HOST>|E|psBinaryOp ( psMatrixVectorArithmetic.c:<LINENO>)31 <DATE><TIME>|<HOST>|E|psBinaryOp (FILE:LINENO) 32 32 Number of elements inconsistent, 2 vs 3. Number of elements must match. 33 33 <DATE><TIME>|<HOST>|I|main 34 34 Following should generate an error message 35 <DATE><TIME>|<HOST>|E|psBinaryOp ( psMatrixVectorArithmetic.c:<LINENO>)35 <DATE><TIME>|<HOST>|E|psBinaryOp (FILE:LINENO) 36 36 Number of elements inconsistent, 2 vs 3. Number of elements must match. 37 37 <DATE><TIME>|<HOST>|I|main 38 38 Following should generate an two error messages 39 <DATE><TIME>|<HOST>|E|psVectorRecycle ( psVector.c:<LINENO>)39 <DATE><TIME>|<HOST>|E|psVectorRecycle (FILE:LINENO) 40 40 The input psVector must have a vector dimension type. 41 <DATE><TIME>|<HOST>|E|psUnaryOp ( psMatrixVectorArithmetic.c:<LINENO>)41 <DATE><TIME>|<HOST>|E|psUnaryOp (FILE:LINENO) 42 42 Couldn't create a proper output psVector. 43 43 <DATE><TIME>|<HOST>|I|main 44 44 Following should generate error message 45 <DATE><TIME>|<HOST>|E|psBinaryOp ( psMatrixVectorArithmetic.c:<LINENO>)45 <DATE><TIME>|<HOST>|E|psBinaryOp (FILE:LINENO) 46 46 The minimum operation is not supported with complex data. 47 47 <DATE><TIME>|<HOST>|I|main 48 48 Following should generate an error message 49 <DATE><TIME>|<HOST>|E|psBinaryOp ( psMatrixVectorArithmetic.c:<LINENO>)49 <DATE><TIME>|<HOST>|E|psBinaryOp (FILE:LINENO) 50 50 The maximum operation is not supported with complex data. 51 51 <DATE><TIME>|<HOST>|I|main 52 52 Following should generate an error messgae 53 <DATE><TIME>|<HOST>|E|psBinaryOp ( psMatrixVectorArithmetic.c:<LINENO>)53 <DATE><TIME>|<HOST>|E|psBinaryOp (FILE:LINENO) 54 54 Specified operation, yarg, is not supported. 55 55 <DATE><TIME>|<HOST>|I|main 56 56 Following should generate an error message 57 <DATE><TIME>|<HOST>|E|psUnaryOp ( psMatrixVectorArithmetic.c:<LINENO>)57 <DATE><TIME>|<HOST>|E|psUnaryOp (FILE:LINENO) 58 58 Specified operation, yarg, is not supported. 59 59 <DATE><TIME>|<HOST>|I|main 60 60 Following should generate an error message 61 <DATE><TIME>|<HOST>|E|psBinaryOp ( psMatrixVectorArithmetic.c:<LINENO>)61 <DATE><TIME>|<HOST>|E|psBinaryOp (FILE:LINENO) 62 62 Unallowable operation: input1 has incorrect dimensionality. 63 63 <DATE><TIME>|<HOST>|I|main 64 64 Following should generate an error message 65 <DATE><TIME>|<HOST>|E|psUnaryOp ( psMatrixVectorArithmetic.c:<LINENO>)65 <DATE><TIME>|<HOST>|E|psUnaryOp (FILE:LINENO) 66 66 Specified parameter, in, has invalid dimensionality, 4. -
trunk/psLib/test/dataManip/verified/tst_psMinimize04.stderr
r2288 r3127 1 1 <DATE><TIME>|<HOST>|I|t03 2 2 Following should generate an error for null input polynomial. 3 <DATE><TIME>|<HOST>|E|psVectorFitPolynomial1D ( psMinimize.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psVectorFitPolynomial1D (FILE:LINENO) 4 4 Unallowable operation: polynomial myPoly or its coeffs is NULL. -
trunk/psLib/test/dataManip/verified/tst_psMinimize04_F32.stderr
r3115 r3127 1 1 <DATE><TIME>|<HOST>|I|t03 2 2 Following should generate an error for null input polynomial. 3 <DATE><TIME>|<HOST>|E|psVectorFitPolynomial1D ( psMinimize.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psVectorFitPolynomial1D (FILE:LINENO) 4 4 Unallowable operation: polynomial myPoly or its coeffs is NULL. -
trunk/psLib/test/dataManip/verified/tst_psMinimize04b.stderr
r2740 r3127 1 1 <DATE><TIME>|<HOST>|I|t03 2 2 Following should generate an error for null arguments. 3 <DATE><TIME>|<HOST>|E|psVectorFitPolynomial1D ( psMinimize.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psVectorFitPolynomial1D (FILE:LINENO) 4 4 Unallowable operation: polynomial myPoly or its coeffs is NULL. -
trunk/psLib/test/dataManip/verified/tst_psMinimize04b_F32.stderr
r3115 r3127 1 1 <DATE><TIME>|<HOST>|I|t03 2 2 Following should generate an error for null arguments. 3 <DATE><TIME>|<HOST>|E|psVectorFitPolynomial1D ( psMinimize.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psVectorFitPolynomial1D (FILE:LINENO) 4 4 Unallowable operation: polynomial myPoly or its coeffs is NULL. -
trunk/psLib/test/dataManip/verified/tst_psMinimize05.stderr
r2743 r3127 1 1 <DATE><TIME>|<HOST>|I|t02 2 2 Following should generate error for null minimize. 3 <DATE><TIME>|<HOST>|E|psMinimizePowell ( psMinimize.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psMinimizePowell (FILE:LINENO) 4 4 Unallowable operation: min is NULL. 5 5 <DATE><TIME>|<HOST>|I|t02 6 6 Following should generate error for null parameter vector 7 <DATE><TIME>|<HOST>|E|psMinimizePowell ( psMinimize.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psMinimizePowell (FILE:LINENO) 8 8 Unallowable operation: psVector params or its data is NULL. 9 9 <DATE><TIME>|<HOST>|I|t02 10 10 Following should generate error for null coords. 11 <DATE><TIME>|<HOST>|E|psMinimizePowell ( psMinimize.c:<LINENO>)11 <DATE><TIME>|<HOST>|E|psMinimizePowell (FILE:LINENO) 12 12 Unallowable operation: coords is NULL. 13 13 <DATE><TIME>|<HOST>|I|t02 14 14 Following should generate error for null function 15 <DATE><TIME>|<HOST>|E|psMinimizePowell ( psMinimize.c:<LINENO>)15 <DATE><TIME>|<HOST>|E|psMinimizePowell (FILE:LINENO) 16 16 Unallowable operation: func is NULL. -
trunk/psLib/test/dataManip/verified/tst_psRandom.stderr
r3012 r3127 1 1 <DATE><TIME>|<HOST>|I|t00 2 2 Invalid type, should generate error message 3 <DATE><TIME>|<HOST>|E|psRandomAlloc ( psRandom.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psRandomAlloc (FILE:LINENO) 4 4 Unknown Random Number Generator Type 5 5 <DATE><TIME>|<HOST>|I|t01 6 6 NULL psRandom variable, should generate error message 7 <DATE><TIME>|<HOST>|E|psRandomUniform ( psRandom.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psRandomUniform (FILE:LINENO) 8 8 Random variable is NULL. 9 9 <DATE><TIME>|<HOST>|I|t02 10 10 NULL psRandom variable, should generate error message 11 <DATE><TIME>|<HOST>|E|psRandomGaussian ( psRandom.c:<LINENO>)11 <DATE><TIME>|<HOST>|E|psRandomGaussian (FILE:LINENO) 12 12 Random variable is NULL. 13 13 <DATE><TIME>|<HOST>|I|t03 14 14 NULL psRandom variable, should generate error message 15 <DATE><TIME>|<HOST>|E|psRandomPoisson ( psRandom.c:<LINENO>)15 <DATE><TIME>|<HOST>|E|psRandomPoisson (FILE:LINENO) 16 16 Random variable is NULL. 17 17 <DATE><TIME>|<HOST>|I|t04 18 18 Reset a NULL psRandom variable, should generate an error message 19 <DATE><TIME>|<HOST>|E|psRandomReset ( psRandom.c:<LINENO>)19 <DATE><TIME>|<HOST>|E|psRandomReset (FILE:LINENO) 20 20 Random variable is NULL. -
trunk/psLib/test/dataManip/verified/tst_psStats00.stderr
r2723 r3127 1 1 <DATE><TIME>|<HOST>|I|main 2 2 Following should generate an error message. 3 <DATE><TIME>|<HOST>|E|psVectorStats ( psStats.c:<LINENO>)3 <DATE><TIME>|<HOST>|E|psVectorStats (FILE:LINENO) 4 4 Unallowable operation: psVector in or its data is NULL. 5 5 <DATE><TIME>|<HOST>|I|main 6 6 Following should generate an error message. 7 <DATE><TIME>|<HOST>|E|psVectorStats ( psStats.c:<LINENO>)7 <DATE><TIME>|<HOST>|E|psVectorStats (FILE:LINENO) 8 8 Unallowable operation: stats is NULL. -
trunk/psLib/test/dataManip/verified/tst_psVectorFFT.stderr
r2713 r3127 7 7 <DATE><TIME>|<HOST>|I|testVectorFFT 8 8 Following should generate an error message. 9 <DATE><TIME>|<HOST>|E|psVectorFFT ( psVectorFFT.c:<LINENO>)9 <DATE><TIME>|<HOST>|E|psVectorFFT (FILE:LINENO) 10 10 Must specify the direction as either PS_FFT_FORWARD or PS_FFT_REVERSE. 11 11 … … 37 37 <DATE><TIME>|<HOST>|I|testVectorComplex 38 38 Following should be an error (type mismatch). 39 <DATE><TIME>|<HOST>|E|psVectorComplex ( psVectorFFT.c:<LINENO>)39 <DATE><TIME>|<HOST>|E|psVectorComplex (FILE:LINENO) 40 40 Real psVector type, psF32, and imaginary psVector type, psF64, must be the same. 41 41 <DATE><TIME>|<HOST>|I|testVectorComplex 42 42 Following should generate an error message. 43 <DATE><TIME>|<HOST>|E|psVectorComplex ( psVectorFFT.c:<LINENO>)43 <DATE><TIME>|<HOST>|E|psVectorComplex (FILE:LINENO) 44 44 Input psVector type, psS8, is required to be either psF32 or psF64. 45 45 … … 67 67 <DATE><TIME>|<HOST>|I|testVectorPowerSpectrum 68 68 Following should generate an error message. 69 <DATE><TIME>|<HOST>|E|psVectorPowerSpectrum ( psVectorFFT.c:<LINENO>)69 <DATE><TIME>|<HOST>|E|psVectorPowerSpectrum (FILE:LINENO) 70 70 Input psVector type, psF32, is required to be either psC32 or psC64. 71 71
Note:
See TracChangeset
for help on using the changeset viewer.
