GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBI / V0-0-8

Constituent: test_ofs     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

test_ofs.c File Reference

Unit test of the macros in PBI/Ofs.h. More...

#include <stdio.h>
#include "PBI/Ofs.h"

Include dependency graph for test_ofs.c:


Defines

#define TEST_MISSION
 Symbol representing the string stating the mission of this test. It is purely here to make the code read nicer.

Functions

int main (int argc, char **argv)
 Standard main entry point for Unix platforms. It merely calls the testing routine test_ofs ().
int test_ofs (void)
 The test program itself and also the entry point for running this test on VxWork's platforms.

Detailed Description

Unit test of the macros in PBI/Ofs.h.

Author:
JJRussell - russell@slac.stanford.edu
   CVS $Id: test_ofs.c,v 1.3 2004/05/06 14:40:25 russell Exp $

To run the program type

   On Unix platforms: 
   $ test_ofs

   On VxWorks
   > test_ofs ()

 

The program returns 0 if successful, else -1.


Function Documentation

int main int  argc,
char **  argv
 

Standard main entry point for Unix platforms. It merely calls the testing routine test_ofs ().

Return values:
0,if successful
-1,if unsuccessful
This program takes no arguments.

int test_ofs void   ) 
 

The test program itself and also the entry point for running this test on VxWork's platforms.

Return values:
0,if successful
-1,if unsuccessful


Generated on Tue Mar 7 21:13:25 2006 by  doxygen 1.4.4