/[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 451 - (show annotations) (download) (as text)
Wed Apr 5 05:14:20 2006 UTC (18 years, 2 months ago) by johnpye
File MIME type: text/x-csrc
File size: 1640 byte(s)
Got the test suite to compile with SCons. Seems that there are some
serious problems still though.
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
44 /* solver/slv_common.c */
45 result = test_register_solver_slv_common();
46 if (CUE_SUCCESS != result)
47 return result;
48
49 /* solver/slv.c */
50 /*
51 result = test_register_solver_slv();
52 if (CUE_SUCCESS != result)
53 return result;
54 */
55
56
57
58
59
60 return result;
61 }
62

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