/[ascend]/trunk/base/generic/linear/test/test_register_linear.h
ViewVC logotype

Contents of /trunk/base/generic/linear/test/test_register_linear.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1319 - (show annotations) (download) (as text)
Tue Mar 6 00:22:28 2007 UTC (13 years, 4 months ago) by jpye
File MIME type: text/x-chdr
File size: 1292 byte(s)
Added test suite for linsolqr (very early days still) for checking by Ben
1 /* ASCEND modelling environment
2 Copyright (C) 2005 Jerry St.Clair
3 Copyright (C) 2006-2007 Carnegie Mellon University
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2, or (at your option)
8 any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA.
19 *//* @file
20 Test registration function for the 'linear' component.
21 */
22
23 #include "CUnit/CUnit.h"
24
25 #define SUITE general
26
27 #define TESTS(T) \
28 T(qr2x2)
29
30 #define PROTO(SUITE,NAME) CU_ErrorCode test_register_##SUITE##_##NAME(void);
31
32 #define PROTO_SUITE(SUITE) CU_ErrorCode test_register_##SUITE(void)
33
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37
38 PROTO_SUITE(SUITE);
39 /**<
40 * Registers all tests for the ASCEND general component.
41 * Returns a CUnit error code (CUE_SUCCESS if no errors).
42 */
43

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