GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> RIM / V3-1-2 > trim / rad750


Interface   Data Structures   File List   Data Fields   Globals  

t_map.c File Reference

Test the functions of RIM/map.h. More...

#include <test_rim_p.h>
#include <RIM_p.h>
#include <RIM_number.ic>
#include <RIM_AG_types_p.h>
#include <RIM/RIM_msgs.h>
#include <stdio.h>
#include <stdlib.h>

Defines

#define CHECK_CALL_MSG(fn, args...)
#define CHECK_CALL_RTN(fn)

Functions

unsigned t_map (void *param)
 Test the functions defined in RIM/lrd.h.


Detailed Description

Test the functions of RIM/map.h.

Author:
James Swain & Owen Saxton
$Id: t_map.c,v 1.4 2011/03/27 06:43:06 saxton Exp $

Define Documentation

#define CHECK_CALL_MSG ( fn,
args...   ) 

Value:

{ \
    if (RIM_SUCCESS != fn) { \
        fprintf(stderr, ## args); \
        return __LINE__; \
    } \
}

#define CHECK_CALL_RTN ( fn   ) 

Value:

{                                          \
    if (RIM_SUCCESS != fn) return __LINE__;   \
}


Function Documentation

unsigned t_map ( void *  param  ) 

Test the functions defined in RIM/lrd.h.

Parameters:
param Opaque handle for the test control structure (if any)
Returns:
Line number of the first error, or 0 if the test is successful

References checkBit(), clearBit(), newRIMmap(), setBit(), and sizeofMap().


Generated on Wed Nov 21 19:29:14 2012 by  doxygen 1.5.8