LAL  7.5.0.1-fe68b98
IncrementGPSTest.c File Reference

Prototypes

static int print_compare_errmsg_maybe (const char *msg, int expected_val, int got_val)
 
static BOOLEAN compare_gps_ok (const LIGOTimeGPS *p_gps1, const LIGOTimeGPS *p_gps2, int expected_val)
 
int main (void)
 

Go to the source code of this file.

Macros

#define SUCCESS   0
 
#define FAILURE   1
 
#define TRUE   1
 
#define FALSE   0
 
#define LONGESTSTR   256
 
#define LALTESTINCREMENTGPSC_ENORM   0
 
#define LALTESTINCREMENTGPSC_ESUB   1
 
#define LALTESTINCREMENTGPSC_MSGENORM   "Normal exit"
 
#define LALTESTINCREMENTGPSC_MSGESUB   "LAL Subroutine failed"
 

Variables

BOOLEAN verbose_p = FALSE
 
const INT4 oneBillion = 1000000000
 

Macro Definition Documentation

◆ SUCCESS

#define SUCCESS   0

Definition at line 34 of file IncrementGPSTest.c.

◆ FAILURE

#define FAILURE   1

Definition at line 35 of file IncrementGPSTest.c.

◆ TRUE

#define TRUE   1

Definition at line 37 of file IncrementGPSTest.c.

◆ FALSE

#define FALSE   0

Definition at line 38 of file IncrementGPSTest.c.

◆ LONGESTSTR

#define LONGESTSTR   256

Definition at line 40 of file IncrementGPSTest.c.

◆ LALTESTINCREMENTGPSC_ENORM

#define LALTESTINCREMENTGPSC_ENORM   0

Definition at line 43 of file IncrementGPSTest.c.

◆ LALTESTINCREMENTGPSC_ESUB

#define LALTESTINCREMENTGPSC_ESUB   1

Definition at line 44 of file IncrementGPSTest.c.

◆ LALTESTINCREMENTGPSC_MSGENORM

#define LALTESTINCREMENTGPSC_MSGENORM   "Normal exit"

Definition at line 46 of file IncrementGPSTest.c.

◆ LALTESTINCREMENTGPSC_MSGESUB

#define LALTESTINCREMENTGPSC_MSGESUB   "LAL Subroutine failed"

Definition at line 47 of file IncrementGPSTest.c.

Function Documentation

◆ print_compare_errmsg_maybe()

static int print_compare_errmsg_maybe ( const char *  msg,
int  expected_val,
int  got_val 
)
static

Definition at line 183 of file IncrementGPSTest.c.

◆ compare_gps_ok()

static BOOLEAN compare_gps_ok ( const LIGOTimeGPS p_gps1,
const LIGOTimeGPS p_gps2,
int  expected_val 
)
static

Definition at line 194 of file IncrementGPSTest.c.

◆ main()

int main ( void  )

Definition at line 66 of file IncrementGPSTest.c.

Variable Documentation

◆ verbose_p

BOOLEAN verbose_p = FALSE

Definition at line 50 of file IncrementGPSTest.c.

◆ oneBillion

const INT4 oneBillion = 1000000000

Definition at line 51 of file IncrementGPSTest.c.