/[ascend]/trunk/base/generic/solver/test/test_register_solver.c
ViewVC logotype

Contents of /trunk/base/generic/solver/test/test_register_solver.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 400 - (show annotations) (download) (as text)
Fri Mar 31 10:59:36 2006 UTC (15 years ago) by johnpye
File MIME type: text/x-csrc
File size: 1632 byte(s)
Almost there with getting Jerry's tests to run. Just sorting out the linking.
1 /*
2 * Registration function for the ASCEND solver component.
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 #include "CUnit/CUnit.h"
25 #include <utilities/ascConfig.h>
26 #include "test_register_solver.h"
27
28 /* #include "test_bnd.h" */
29 #include "test_slv_common.h"
30 /* #include "test_slv.h" */
31
32 CU_ErrorCode test_register_solver(void)
33 {
34 CU_ErrorCode result = CUE_SUCCESS;
35
36 /* for new tests, add the test registration call to the following sequence: */
37
38 /* solver/bnd.c */
39 result = test_register_solver_bnd();
40 if (CUE_SUCCESS != result)
41 return result;
42
43 /* solver/slv_common.c */
44 result = test_register_solver_slv_common();
45 if (CUE_SUCCESS != result)
46 return result;
47
48 /* solver/slv.c */
49 /*
50 result = test_register_solver_slv();
51 if (CUE_SUCCESS != result)
52 return result;
53 */
54
55
56
57
58
59 return result;
60 }
61

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22