1 |
/* |
2 |
* Unit test functions for ASCEND: solver/slv_common.c |
3 |
* |
4 |
* Copyright (C) 2005 Jerry St.Clair |
5 |
* |
6 |
* This file is part of the Ascend Environment. |
7 |
* |
8 |
* The Ascend Environment is free software; you can redistribute it |
9 |
* and/or modify it under the terms of the GNU General Public License as |
10 |
* published by the Free Software Foundation; either version 2 of the |
11 |
* License, or (at your option) any later version. |
12 |
* |
13 |
* The Ascend Environment is distributed in hope that it will be useful, |
14 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
16 |
* General Public License for more details. |
17 |
* |
18 |
* You should have received a copy of the GNU General Public License |
19 |
* along with the program; if not, write to the Free Software Foundation, |
20 |
* Inc., 675 Mass Ave, Cambridge, MA 02139 USA. Check the file named |
21 |
* COPYING. |
22 |
*/ |
23 |
|
24 |
/* @file |
25 |
* Registration function for unit tests of the ASCEND |
26 |
* solver/slv_common.c module. |
27 |
* <pre> |
28 |
* Requires: #include "CUnit/CUnit.h" |
29 |
* #include "utilities/ascConfig.h" |
30 |
* #include "solver/slv_common.h" |
31 |
* </pre> |
32 |
*/ |
33 |
|
34 |
#ifndef TEST_SLV_COMMON_H_SEEN |
35 |
#define TEST_SLV_COMMON_H_SEEN |
36 |
|
37 |
#ifdef __cplusplus |
38 |
extern "C" { |
39 |
#endif |
40 |
|
41 |
CU_ErrorCode test_register_solver_slv_common(void); |
42 |
/**< |
43 |
* Registers the unit tests for the ASCEND solver/slv_common module. |
44 |
* Returns a CUnit error code (CUE_SUCCESS if no errors). |
45 |
*/ |
46 |
|
47 |
#ifdef __cplusplus |
48 |
} |
49 |
#endif |
50 |
|
51 |
#endif /* TEST_SLV_COMMON_H_SEEN */ |