File: test_solver_builtin.cpp

package info (click to toggle)
amgcl 1.4.4-1
  • links: PTS, VCS
  • area: contrib
  • in suites: sid
  • size: 5,676 kB
  • sloc: cpp: 34,043; python: 747; pascal: 258; f90: 196; makefile: 20
file content (17 lines) | stat: -rw-r--r-- 519 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#define BOOST_TEST_MODULE TestSolvers
#include <boost/test/unit_test.hpp>
#include <amgcl/backend/builtin.hpp>

#include "test_solver.hpp"

BOOST_AUTO_TEST_SUITE( test_solvers )

BOOST_AUTO_TEST_CASE(test_builtin_backend)
{
    test_backend< amgcl::backend::builtin<double> >();
    test_backend< amgcl::backend::builtin<double, int, ptrdiff_t> >();
    test_backend< amgcl::backend::builtin<double, int, int> >();
    test_backend< amgcl::backend::builtin<double, uint32_t, size_t> >();
}

BOOST_AUTO_TEST_SUITE_END()