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

Contents of /trunk/ascend/solver/test/test_register_solver.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3280 - (show annotations) (download) (as text)
Mon Nov 27 03:40:50 2017 UTC (11 months, 2 weeks ago) by jpye
File MIME type: text/x-csrc
File size: 1140 byte(s)
added initial test for datareader (CSV)

1 /* ASCEND modelling environment
2 Copyright (C) 2010 Carnegie Mellon University
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2, or (at your option)
7 any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18 #include <ascend/general/platform.h>
19 #include "test_register_solver.h"
20
21 #define TESTS(T) \
22 T(slv_common) \
23 T(slvreq) \
24 T(ipopt) \
25 T(conopt) \
26 T(qrslv) \
27 T(fprops) \
28 T(lrslv) \
29 T(slvdof) \
30 T(datareader)
31
32 #define PROTO_SOLVER(NAME) PROTO(solver,NAME)
33 TESTS(PROTO_SOLVER)
34 #undef PROTO_SOLVER
35
36 #define REGISTER_TEST(NAME) \
37 result = TESTREGISTER(solver,NAME); \
38 if(CUE_SUCCESS!=result){ \
39 return result; \
40 }
41
42 REGISTER_SUITE(solver,TESTS)
43

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