test_geodesy.c File Reference


Detailed Description

unit tests for geodesy.c/.h

Author:
Glenn D. MacGougan (GDM)
Date:
2007-11-26
Since:
2007-11-26
2007-11-26, GDM, Creation

"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_geodesy.c.

#include <stdio.h>
#include "Basic.h"
#include "geodesy.h"
#include "constants.h"

Go to the source code of this file.

Functions

int init_suite_GEODESY (void)
 The suite initialization function.
int clean_suite_GEODESY (void)
 The suite cleanup function.
void test_GEODESY_GetReferenceEllipseParameters (void)
 Test GEODESY_GetReferenceEllipseParameters().
void test_GEODESY_ConvertCoordinates (void)
 Test GEODESY coordinate conversions.
void test_GEODESY_ComputeNorthingEastingVertical (void)
 Test GEODESY_ComputeNorthingEastingVertical().
void test_GEODESY_ComputePositionDifference (void)
 Test GEODESY_ComputePositionDifference().
void test_GEODESY_ComputeMeridianRadiusOfCurvature (void)
 Test GEODESY_ComputeMeridianRadiusOfCurvature().
void test_GEODESY_ComputePrimeVerticalRadiusOfCurvature (void)
 Test GEODESY_ComputePrimeVerticalRadiusOfCurvature().
void test_GEODESY_ComputeMeridianArcBetweenTwoLatitudes (void)
 Test GEODESY_ComputeMeridianArcBetweenTwoLatitudes().
void test_GEODESY_ComputeParallelArcBetweenTwoLongitudes (void)
 Test GEODESY_ComputeParallelArcBetweenTwoLongitudes().
void test_GEODESY_RotateVectorFromLocalGeodeticFrameToEarthFixedFrame (void)
 Test GEODESY_RotateVectorFromLocalGeodeticFrameToEarthFixedFrame().
void test_GEODESY_RotateVectorFromEarthFixedFrameToLocalGeodeticFrame (void)
 Test GEODESY_RotateVectorFromEarthFixedFrameToLocalGeodeticFrame().
void test_GEODESY_ComputeAzimuthAndElevationAnglesBetweenToPointsInTheEarthFixedFrame (void)
 Test GEODESY_ComputeAzimuthAndElevationAnglesBetweenToPointsInTheEarthFixedFrame().


Function Documentation

int clean_suite_GEODESY ( void   ) 

The suite cleanup function.

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

Definition at line 49 of file test_geodesy.c.

int init_suite_GEODESY ( void   ) 

The suite initialization function.

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

Definition at line 44 of file test_geodesy.c.

void test_GEODESY_ComputeAzimuthAndElevationAnglesBetweenToPointsInTheEarthFixedFrame ( void   ) 

Test GEODESY_ComputeAzimuthAndElevationAnglesBetweenToPointsInTheEarthFixedFrame().

Definition at line 809 of file test_geodesy.c.

void test_GEODESY_ComputeMeridianArcBetweenTwoLatitudes ( void   ) 

Test GEODESY_ComputeMeridianArcBetweenTwoLatitudes().

Definition at line 588 of file test_geodesy.c.

void test_GEODESY_ComputeMeridianRadiusOfCurvature ( void   ) 

Test GEODESY_ComputeMeridianRadiusOfCurvature().

Definition at line 532 of file test_geodesy.c.

void test_GEODESY_ComputeNorthingEastingVertical ( void   ) 

Test GEODESY_ComputeNorthingEastingVertical().

Definition at line 364 of file test_geodesy.c.

void test_GEODESY_ComputeParallelArcBetweenTwoLongitudes ( void   ) 

Test GEODESY_ComputeParallelArcBetweenTwoLongitudes().

Definition at line 607 of file test_geodesy.c.

void test_GEODESY_ComputePositionDifference ( void   ) 

Test GEODESY_ComputePositionDifference().

Definition at line 448 of file test_geodesy.c.

void test_GEODESY_ComputePrimeVerticalRadiusOfCurvature ( void   ) 

Test GEODESY_ComputePrimeVerticalRadiusOfCurvature().

Definition at line 560 of file test_geodesy.c.

void test_GEODESY_ConvertCoordinates ( void   ) 

Test GEODESY coordinate conversions.

Definition at line 267 of file test_geodesy.c.

void test_GEODESY_GetReferenceEllipseParameters ( void   ) 

Test GEODESY_GetReferenceEllipseParameters().

Definition at line 56 of file test_geodesy.c.

void test_GEODESY_RotateVectorFromEarthFixedFrameToLocalGeodeticFrame ( void   ) 

Test GEODESY_RotateVectorFromEarthFixedFrameToLocalGeodeticFrame().

Definition at line 718 of file test_geodesy.c.

void test_GEODESY_RotateVectorFromLocalGeodeticFrameToEarthFixedFrame ( void   ) 

Test GEODESY_RotateVectorFromLocalGeodeticFrameToEarthFixedFrame().

Definition at line 628 of file test_geodesy.c.