test_yuma.h

Go to the documentation of this file.
00001 /** 
00002 \file    test_yuma.h
00003 \brief   unit tests for yuma.c/.h
00004 \author  Glenn D. MacGougan (GDM)
00005 \date    2007-11-29
00006 \since   2007-11-29
00007 
00008 \b "LICENSE INFORMATION" \n
00009 Copyright (c) 2007, refer to 'author' doxygen tags \n
00010 All rights reserved. \n
00011 
00012 Redistribution and use in source and binary forms, with or without
00013 modification, are permitted provided the following conditions are met: \n
00014 
00015 - Redistributions of source code must retain the above copyright
00016   notice, this list of conditions and the following disclaimer. \n
00017 - Redistributions in binary form must reproduce the above copyright
00018   notice, this list of conditions and the following disclaimer in the
00019   documentation and/or other materials provided with the distribution. \n
00020 - The name(s) of the contributor(s) may not be used to endorse or promote 
00021   products derived from this software without specific prior written 
00022   permission. \n
00023 
00024 THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS ``AS IS'' AND ANY EXPRESS 
00025 OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
00026 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
00027 DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
00028 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
00029 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 
00030 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
00031 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
00032 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 
00033 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 
00034 SUCH DAMAGE.
00035 */
00036 #ifndef _C_TEST_YUMA_H_
00037 #define _C_TEST_YUMA_H_
00038 
00039 #ifdef __cplusplus
00040 extern "C" {
00041 #endif
00042 
00043 
00044 /** 
00045 \brief  The suite initialization function.
00046 \return Returns zero on success, non-zero otherwise.
00047 */
00048 int init_suite_YUMA(void);
00049 
00050 /** 
00051 \brief  The suite cleanup function.
00052 \return Returns zero on success, non-zero otherwise.
00053 */
00054 int clean_suite_YUMA(void);
00055 
00056 
00057 /** \brief  Test YUMA_ReadAlmanacDataFromFile(). */
00058 void test_YUMA_ReadAlmanacDataFromFile(void);
00059 
00060 /** \brief  Test YUMA_WriteAlmanacDataToFile(). */
00061 void test_YUMA_WriteAlmanacDataToFile(void);
00062 
00063 /** \brief  Test YUMA_WriteSingleAlmanacElementToBuffer(). */
00064 void test_YUMA_WriteSingleAlmanacElementToBuffer(void);
00065 
00066 
00067 #ifdef __cplusplus
00068 }
00069 #endif
00070 
00071 #endif // _C_TEST_YUMA_H_