test_yuma.c File Reference


Detailed Description

unit tests for yuma.c/.h

Author:
Glenn D. MacGougan (GDM)
Date:
2007-11-29
Since:
2007-11-29
"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_yuma.c.

#include <stdio.h>
#include "Basic.h"
#include "yuma.h"

Go to the source code of this file.

Functions

int init_suite_YUMA (void)
 The suite initialization function.
int clean_suite_YUMA (void)
 The suite cleanup function.
void test_YUMA_ReadAlmanacDataFromFile (void)
 Test YUMA_ReadAlmanacDataFromFile().
void test_YUMA_WriteAlmanacDataToFile (void)
 Test YUMA_WriteAlmanacDataToFile().
void test_YUMA_WriteSingleAlmanacElementToBuffer (void)
 Test YUMA_WriteSingleAlmanacElementToBuffer().


Function Documentation

int clean_suite_YUMA ( void   ) 

The suite cleanup function.

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

Definition at line 46 of file test_yuma.c.

int init_suite_YUMA ( void   ) 

The suite initialization function.

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

Definition at line 41 of file test_yuma.c.

void test_YUMA_ReadAlmanacDataFromFile ( void   ) 

Test YUMA_ReadAlmanacDataFromFile().

Definition at line 521 of file test_yuma.c.

void test_YUMA_WriteAlmanacDataToFile ( void   ) 

Test YUMA_WriteAlmanacDataToFile().

Definition at line 1160 of file test_yuma.c.

void test_YUMA_WriteSingleAlmanacElementToBuffer ( void   ) 

Test YUMA_WriteSingleAlmanacElementToBuffer().

Definition at line 1217 of file test_yuma.c.