Changeset 5114 for trunk/psLib/test/mathtypes
- Timestamp:
- Sep 23, 2005, 2:17:44 PM (21 years ago)
- Location:
- trunk/psLib/test/mathtypes
- Files:
-
- 3 edited
-
tst_psVector.c (modified) (3 diffs)
-
verified/tst_psImage.stderr (modified) (1 diff)
-
verified/tst_psVector.stderr (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/mathtypes/tst_psVector.c
r5089 r5114 14 14 * @author Ross Harman, MHPCC 15 15 * 16 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $17 * @date $Date: 2005-09-2 2 02:32:00$16 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2005-09-24 00:17:44 $ 18 18 * 19 19 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 391 391 psVector *vec = NULL; 392 392 vec = psVectorAlloc(5, PS_TYPE_S32); 393 vec->n = 0; 393 394 394 395 if ( !psVectorSet(vec, 0, 10) ) … … 396 397 if ( psVectorSet(vec, 10, 10) ) 397 398 fprintf(stderr, "VectorSet Improperly set S32 at out of range position\n"); 398 if ( !psVectorSet(vec, -1, 4) )399 fprintf(stderr, "VectorSet Failed to set S32 at position 4\n");399 if ( !psVectorSet(vec, 1, 4) ) 400 fprintf(stderr, "VectorSet Failed to set S32 at position 1\n"); 400 401 if ( (psS32)psVectorGet(vec, 0) != 10 ) 401 402 fprintf(stderr, "VectorGet Failed to return the correct S32 from position 0\n"); -
trunk/psLib/test/mathtypes/verified/tst_psImage.stderr
r5101 r5114 138 138 \**********************************************************************************/ 139 139 140 <DATE><TIME>|<HOST>|E|psImageSet (FILE:LINENO) 141 Invalid position. Position too large 140 142 141 143 ---> TESTPOINT PASSED (psImage{psImageInit} | tst_psImage.c) -
trunk/psLib/test/mathtypes/verified/tst_psVector.stderr
r5089 r5114 64 64 \**********************************************************************************/ 65 65 66 <DATE><TIME>|<HOST>|E|psVectorSet (FILE:LINENO) 67 Invalid position. Number too large 66 68 67 69 ---> TESTPOINT PASSED (psVector{psVectorGet/Set} | tst_psVector.c)
Note:
See TracChangeset
for help on using the changeset viewer.
