IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 26, 2004, 2:57:34 PM (22 years ago)
Author:
desonia
Message:

converted native C types to ps Types, where practical.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/tst_template.c

    r1364 r2204  
    66*  @author Robert DeSonia, MHPCC
    77*
    8 *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    9 *  @date $Date: 2004-08-02 18:30:10 $
     8*  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     9*  @date $Date: 2004-10-27 00:57:31 $
    1010*
    1111*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1515#include "pslib.h"
    1616
    17 static int test1( void );
    18 static int test2( void );
    19 static int test3( void );
     17static psS32 test1( void );
     18static psS32 test2( void );
     19static psS32 test3( void );
    2020
    2121// test descrription consists of:
     
    4545                                  test3, 1114, "psFunctionFunk", 0, false
    4646                              },
    47                              
     47
    4848                              // testpoint #1112 handled by same test function as #1111
    4949                              {
    5050                                  test1, 1112, "psFunctionBang", 0, true
    5151                              },
    52                              
     52
    5353                              // A null terminates the testDescription list
    5454                              {
     
    5656                              }
    5757                          };
    58                          
    59 int main( int argc, char* argv[] )
     58
     59psS32 main( psS32 argc, char* argv[] )
    6060{
    6161    psLogSetLevel( PS_LOG_INFO );
    62    
     62
    6363    return ( ! runTestSuite( stderr, "psImage", tests, argc, argv ) );
    6464}
    6565
    66 int test1( void )
     66psS32 test1( void )
    6767{
    6868    // no need to check for memory leaks, as the runTestSuite does that for you.
    69    
     69
    7070    // here is where one implements the tests for generally a single testpoint.
    71    
     71
    7272    return 0;  // the value that indicates success is part of the testDescription
    7373}
    7474
    75 int test2( void )
     75psS32 test2( void )
    7676{
    7777    // no need to check for memory leaks, as the runTestSuite does that for you.
    78    
     78
    7979    // here is where one implements the tests for generally a single testpoint.
    80    
     80
    8181    return 0;  // the value that indicates success is part of the testDescription
    8282}
    8383
    84 int test3( void )
     84psS32 test3( void )
    8585{
    8686    // no need to check for memory leaks, as the runTestSuite does that for you.
    87    
     87
    8888    // here is where one implements the tests for generally a single testpoint.
    89    
     89
    9090    return 0;  // the value that indicates success is part of the testDescription
    9191}
Note: See TracChangeset for help on using the changeset viewer.