]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Redefine Assert as AssertThrow in tests
authorDaniel Arndt <arndtd@ornl.gov>
Sun, 16 Feb 2020 04:10:10 +0000 (23:10 -0500)
committerDaniel Arndt <arndtd@ornl.gov>
Sun, 16 Feb 2020 04:13:52 +0000 (23:13 -0500)
tests/tests.h

index 98694ea31edea4175125673d4e3250f1a0105880..5de7e366e8fed2fd4524caee1ebe87ac6cb276a8 100644 (file)
@@ -64,6 +64,9 @@ struct DisableWindowsDebugRuntimeDialog
 } deal_II_windows_crt_dialog;
 #endif
 
+#undef Assert
+#define Assert AssertThrow
+
 // implicitly use the deal.II namespace everywhere, without us having to say
 // so in each and every testcase
 using namespace dealii;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.