1 /* =========================================================================
2 Copyright (c) 2010-2016, Institute for Microelectronics,
3 Institute for Analysis and Scientific Computing,
4 TU Wien.
5 Portions of this software are copyright by UChicago Argonne, LLC.
6
7 -----------------
8 ViennaCL - The Vienna Computing Library
9 -----------------
10
11 Project Head: Karl Rupp rupp@iue.tuwien.ac.at
12
13 (A list of authors and contributors can be found in the PDF manual)
14
15 License: MIT (X11), see file LICENSE in the base directory
16 ============================================================================= */
17
18 /** \file tests/src/matrix_col_int.cpp Tests routines for dense matrices, column-major, signed integers.
19 * \test Tests routines for dense matrices, column-major, signed integers.
20 **/
21
22 #include "matrix_int.hpp"
23
main(int,const char **)24 int main (int, const char **)
25 {
26 std::cout << std::endl;
27 std::cout << "----------------------------------------------" << std::endl;
28 std::cout << "----------------------------------------------" << std::endl;
29 std::cout << "## Test :: Matrix operations, column-major, integers " << std::endl;
30 std::cout << "----------------------------------------------" << std::endl;
31 std::cout << "----------------------------------------------" << std::endl;
32 std::cout << std::endl;
33
34 std::cout << "# Testing setup:" << std::endl;
35 std::cout << " numeric: int" << std::endl;
36 std::cout << " --- column-major ---" << std::endl;
37 if (run_test<viennacl::column_major, int>() != EXIT_SUCCESS)
38 return EXIT_FAILURE;
39
40 std::cout << "# Testing setup:" << std::endl;
41 std::cout << " numeric: long" << std::endl;
42 std::cout << " --- column-major ---" << std::endl;
43 if (run_test<viennacl::column_major, long>() != EXIT_SUCCESS)
44 return EXIT_FAILURE;
45
46 std::cout << std::endl;
47 std::cout << "------- Test completed --------" << std::endl;
48 std::cout << std::endl;
49
50 return EXIT_SUCCESS;
51 }
52
53