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

[tests] Test objects in namespace GeometryTypes

parent 68a1f424
No related branches found
No related tags found
1 merge request!54Make GeometryType constexpr
Pipeline #
......@@ -7,5 +7,11 @@
int main ( int argc, char **argv )
{
constexpr auto gt_none_1 = Dune::GeometryType();
return not std::integral_constant<bool,gt_none_1.isNone()>{};
constexpr auto gt_none_2 = Dune::GeometryTypes::none(0);
return not std::integral_constant<
bool,
gt_none_1.isNone()
and gt_none_1 == gt_none_2
and Dune::GeometryType(1,1) == Dune::GeometryTypes::line
>{};
}
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