Skip to content
Snippets Groups Projects
Commit 97bcc761 authored by Steffen Müthing's avatar Steffen Müthing
Browse files

[tests] Add a new test for constexpr GeometryType

parent fbd37337
No related branches found
No related tags found
1 merge request!54Make GeometryType constexpr
......@@ -23,3 +23,6 @@ dune_add_test(SOURCES test-nonetype.cc
dune_add_test(SOURCES test-refinement.cc
LINK_LIBRARIES dunegeometry)
dune_add_test(SOURCES test-constexpr-geometrytype.cc
LINK_LIBRARIES dunegeometry)
#include <config.h>
#include <iostream>
#include <dune/geometry/type.hh>
int main ( int argc, char **argv )
{
constexpr auto gt_none_1 = Dune::GeometryType();
return not std::integral_constant<bool,gt_none_1.isNone()>{};
}
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