IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 10, 2004, 1:14:22 PM (22 years ago)
Author:
harman
Message:

Added more testpoints

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/collections/tst_psSort_04.c

    r831 r988  
    55 *  This test driver contains the following tests for psSort test point 4:
    66 *     A)  Attempt to sort with null input vector
    7  *     B)  Attempt to sort with null output vector
    8  *     C)  Free vectors
     7 *     B)  Free vectors
    98 *
    109 *  @author  Ross Harman, MHPCC
    1110 *
    12  *  @version $Revision: 1.5 $  $Name: not supported by cvs2svn $
    13  *  @date  $Date: 2004-06-02 23:29:29 $
     11 *  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
     12 *  @date  $Date: 2004-06-10 23:14:22 $
    1413 *
    1514 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2423{
    2524    psVector *badIn = NULL;
    26     psVector *badOut = NULL;
    27     psVector *goodIn = psVectorAlloc(5, PS_TYPE_F32);
    2825    psVector *goodOut = psVectorAlloc(5, PS_TYPE_F32);
    2926
     
    3431    printFooter(stdout, "psSort", "Attempt to sort with null input vector", true);
    3532
    36     // Test B - Attempt to sort with null output vector
    37     printNegativeTestHeader(stdout,"psSort", "Attempt to sort with null output vector",
    38                             "Null output vector", 0);
    39     badOut = psSort(badOut, goodIn);
    40     printFooter(stdout, "psSort", "Attempt to sort with null output vector", true);
    41 
    42     // Test C - Free vectors
     33    // Test B - Free vectors
    4334    printPositiveTestHeader(stdout, "psSort", "Free vectors");
    44     psVectorFree(goodIn);
    4535    psVectorFree(goodOut);
    4636    psMemCheckLeaks(0, NULL, stdout);
Note: See TracChangeset for help on using the changeset viewer.