IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 4, 2006, 4:48:35 PM (20 years ago)
Author:
drobbin
Message:

Fixed some tiny things and working on fixing psImageSmooth (not done).

Location:
trunk/psLib/test/mathtypes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/mathtypes/tst_psVectorSort_01.c

    r7043 r7071  
    1212 *  @author  Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
    15  *  @date  $Date: 2006-05-02 22:35:52 $
     14 *  @version $Revision: 1.3 $  $Name: not supported by cvs2svn $
     15 *  @date  $Date: 2006-05-05 02:48:35 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    165165    //    }
    166166    if (out != NULL) {
     167        if (out->n != 0) {
     168            psError(PS_ERR_BAD_PARAMETER_VALUE, true,
     169                    "psVectorSort failed to correctly return a 0-length vector.\n");
     170            return 12;
     171        }
     172    } else {
    167173        psError(PS_ERR_BAD_PARAMETER_NULL, true,
    168                 "psVectorSort failed to return a NULL vector for 0-length input vector.\n");
    169         return 666;
     174                "psVectorSort returned a NULL vector instead of expected vector with n=0.\n");
     175        return 13;
    170176    }
    171177    /*    if(out->n != 0) {
     
    174180        }
    175181        */
     182    psFree(out);
    176183    printFooter(stdout,"psVectorSort","Sort zero element vector",true);
    177184
  • trunk/psLib/test/mathtypes/verified/tst_psVectorSort_01.stderr

    r7046 r7071  
    55<DATE><TIME>|<HOST>|E|psVectorSort (FILE:LINENO)
    66    Error in psVectorSort:  psVectorCopy returned NULL vector!
    7 <DATE><TIME>|<HOST>|W|psVectorCopy (FILE:LINENO)
    8     Warning: psVector was copied with 0 elements!
    9 <DATE><TIME>|<HOST>|E|psVectorSort (FILE:LINENO)
    10     Error in psVectorSort:  Vector has less than 2 data entries!
Note: See TracChangeset for help on using the changeset viewer.