1 /*
2 
3 Copyright (C) 2008-2015 Michele Martone
4 
5 This file is part of librsb.
6 
7 librsb is free software; you can redistribute it and/or modify it
8 under the terms of the GNU Lesser General Public License as published
9 by the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version.
11 
12 librsb is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
15 License for more details.
16 
17 You should have received a copy of the GNU Lesser General Public
18 License along with librsb; see the file COPYING.
19 If not, see <http://www.gnu.org/licenses/>.
20 
21 */
22 /* @cond INNERDOC */
23 /**
24  * @file
25  * @author Michele Martone
26  * @brief  Sparse BLAS interface testing code
27  * */
28 #ifndef LIBSPBLAS_TESTS_H_INCLUDED
29 #define LIBSPBLAS_TESTS_H_INCLUDED
30 #include "rsb_common.h"
31 struct rsb_tester_options_t{
32 	rsb_time_t mtt; /* maximal test time */
33 	rsb_bool_t rrm; /* require recursive matrices (error otherwise) */
34 	rsb_bool_t tur; /* test until recursive */
35 	rsb_bool_t wqt; /* want quiet testing */
36 	rsb_bool_t wqc; /* want quiet conditionally (on no tty) */
37 	rsb_bool_t wcs; /* want clear screen */
38 };
39 rsb_err_t rsb_blas_tester_options_init(struct rsb_tester_options_t * top);
40 rsb_err_t rsb_blas_mini_tester(void);
41 rsb_err_t rsb_blas_bigger_matrices_tester(struct rsb_tester_options_t * top);
42 rsb_err_t rsb_blas_limit_cases_tester(void);
43 rsb_err_t rsb_blas_runtime_limits_tester(void);
44 #endif /* LIBSPBLAS_TESTS_H_INCLUDED */
45 /* @endcond */
46