Skip to content
Snippets Groups Projects
Commit d85a8319 authored by Michael Kuron's avatar Michael Kuron :mortar_board:
Browse files

Add test for user-defined literal applied to integer

parent 0ffb51aa
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,8 @@ int main( int /*argc*/, char** /*argv*/ )
WALBERLA_CHECK_EQUAL( math::int_ld< 1 >::exp, 0 );
WALBERLA_CHECK_IDENTICAL(1.23456_r, real_c(1.23456));
WALBERLA_CHECK_IDENTICAL(1_r, real_c(1));
WALBERLA_CHECK_IDENTICAL(-1_r, real_c(-1));
return EXIT_SUCCESS;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment