IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 1, 2007, 6:20:06 PM (19 years ago)
Author:
gusciora
Message:

Added tabular file of all psLib functions in Chapter 6 of the SDRS (Data
Manipulation). Most of the test file changes in this check-in are fairly
cosmetic.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/math/tap_psMatrix02.c

    r12431 r13124  
    1212 *  @author  Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
    15  *  @date  $Date: 2007-03-14 00:39:51 $
     14 *  @version $Revision: 1.3 $  $Name: not supported by cvs2svn $
     15 *  @date  $Date: 2007-05-02 04:20:06 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2424#include "pstap.h"
    2525
    26 psS32 main(psS32 argc,
    27            char* argv[])
     26int main(psS32 argc,
     27         char* argv[])
    2828{
    2929    psLogSetFormat("HLNM");
    3030    plan_tests(11);
    3131
    32     // Test A - Input pointer same as output pointer
     32    // Input pointer same as output pointer
     33    // XXX: This results in a seg fault.  It's not clear that passing this test is
     34    // a requirement.  However, we should probably fix the case where the input
     35    // image equals the output image.
    3336    if (0) {
    3437        psMemId id = psMemGetId();
     
    4043    }
    4144
    42     // Test B - Null input psImage
     45
     46    // Null input psImage
     47    // Merge with tap_psMatrix01.c, get rid of this test (redundant)
    4348    {
    4449        psMemId id = psMemGetId();
     
    5257    }
    5358
    54     // Test C - Incorrect type for input pointer
     59
     60    // Incorrect type for input pointer
     61    // Merge with tap_psMatrix01.c, get rid of this test (redundant)
    5562    {
    5663        psMemId id = psMemGetId();
     
    6572    }
    6673
    67     // Test D - Incorrect type for output pointer
     74
     75    // Incorrect type for output pointer
    6876    {
    6977        psMemId id = psMemGetId();
     
    7987    }
    8088
    81     // Test E - Matrix not square for output pointer
     89
     90    // Matrix not square for output pointer
    8291    // XXX: We should probably do more here.
    8392    {
     
    9099        ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");
    91100    }
    92     return 0;
    93101}
Note: See TracChangeset for help on using the changeset viewer.