test_novatel.c File Reference


Detailed Description

unit tests for novatel.c/.h

Author:
Glenn D. MacGougan (GDM)
Date:
2007-11-26
Since:
2007-11-26
"LICENSE INFORMATION"
Copyright (c) 2007, refer to 'author' doxygen tags
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided the following conditions are met:

THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file test_novatel.c.

#include <stdio.h>
#include "Basic.h"
#include "gps.h"
#include "novatel.h"
#include "constants.h"

Go to the source code of this file.

Functions

int init_suite_NOVATELOEM4 (void)
 The suite initialization function.
int clean_suite_NOVATELOEM4 (void)
 The suite cleanup function.
void test_NOVATELOEM4_FindNextMessageInFile (void)
 Test NOVATELOEM4_FindNextMessageInFile().
void test_NOVATELOEM4_DecodeRANGEB (void)
 Test NOVATELOEM4_DecodeRANGEB().
void test_NOVATELOEM4_DecodeRANGECMPB (void)
 Test NOVATELOEM4_DecodeRANGECMPB().
void test_NOVATELOEM4_DecodeRAWEPHEMB (void)
 Test NOVATELOEM4_DecodeRAWEPHEMB().


Function Documentation

int clean_suite_NOVATELOEM4 ( void   ) 

The suite cleanup function.

Returns:
Returns zero on success, non-zero otherwise.

Definition at line 48 of file test_novatel.c.

int init_suite_NOVATELOEM4 ( void   ) 

The suite initialization function.

Returns:
Returns zero on success, non-zero otherwise.

Definition at line 43 of file test_novatel.c.

void test_NOVATELOEM4_DecodeRANGEB ( void   ) 

Test NOVATELOEM4_DecodeRANGEB().

Definition at line 204 of file test_novatel.c.

void test_NOVATELOEM4_DecodeRANGECMPB ( void   ) 

Test NOVATELOEM4_DecodeRANGECMPB().

Definition at line 484 of file test_novatel.c.

void test_NOVATELOEM4_DecodeRAWEPHEMB ( void   ) 

Test NOVATELOEM4_DecodeRAWEPHEMB().

Definition at line 760 of file test_novatel.c.

void test_NOVATELOEM4_FindNextMessageInFile ( void   ) 

Test NOVATELOEM4_FindNextMessageInFile().

Definition at line 54 of file test_novatel.c.