00001 /* $Id: fors-test.c,v 1.2 2007/07/09 06:59:34 jmlarsen Exp $ 00002 * 00003 * This file is part of the FORS Library 00004 * Copyright (C) 2002-2006 European Southern Observatory 00005 * 00006 * This program is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation; either version 2 of the License, or 00009 * (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00019 */ 00020 00021 /* 00022 * $Author: jmlarsen $ 00023 * $Date: 2007/07/09 06:59:34 $ 00024 * $Revision: 1.2 $ 00025 * $Name: fors-4_8_6 $ 00026 */ 00027 00028 #ifdef HAVE_CONFIG_H 00029 #include <config.h> 00030 #endif 00031 00032 #include <fors_utils.h> 00033 #include <test.h> 00034 00047 static void 00048 test_version(void) 00049 { 00050 test_eq(FORS_BINARY_VERSION, fors_get_version_binary()); 00051 } 00052 00053 00057 int main(void) 00058 { 00059 TEST_INIT; 00060 00061 test_version(); 00062 00063 TEST_END; 00064 } 00065