camera/nmeaTest.cc File Reference


Detailed Description

Unit Tests for NMEA and subclasses.

See also:
NMEA.cc
Author:
k. headley copyright MBARI 2008

#include "NMEA.h"
#include "Utils.h"
#include "BicamConsts.h"

Functions

int testGpggaSetFields ()
 Test GPGGA class setFields method.
int testGprmcSetFields ()
 Test GPRMC class setFields method.
int testChecksum ()
 Test NMEA checksum method.
int testGpggaToString ()
 test GPGGA class toString method
int testGprmcToString ()
 Test GPRMC toString method.
int main (int argc, char *argv[])
 NMEA unit tests entry point.


Function Documentation

int main ( int  argc,
char *  argv[] 
)

NMEA unit tests entry point.

int testChecksum (  ) 

Test NMEA checksum method.

Returns:
OK if successful, ERROR otherwise

int testGpggaSetFields (  ) 

Test GPGGA class setFields method.

Returns:
OK if successful, ERROR otherwise

int testGpggaToString (  ) 

test GPGGA class toString method

Returns:
OK if successful, ERROR otherwise

int testGprmcSetFields (  ) 

Test GPRMC class setFields method.

Returns:
OK if successful, ERROR otherwise

int testGprmcToString (  ) 

Test GPRMC toString method.

Returns:
OK if successful, ERROR otherwise


Generated on Tue Jul 15 13:10:22 2008 for Benthic Imaging AUV by  doxygen 1.5.4