Skip to content
Snippets Groups Projects
Commit 74fa3315 authored by Oliver Sander's avatar Oliver Sander
Browse files

Test whether FieldVector correctly exports value_type

parent 6339301a
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,12 @@ struct FieldVectorMainTest
std::cout << __func__ << "\t ( " << className(v) << " )" << std::endl;
// test exported types
static_assert(
Dune::is_same<ft,typename FieldVector<ft,d>::value_type>::value,
"FieldVector::value_type is not the correct type"
);
// test traits
static_assert(
( Dune::is_same< typename Dune::FieldTraits<
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment