]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Extend test
authorPeter Munch <peterrmuench@gmail.com>
Sun, 2 Jul 2023 02:51:40 +0000 (04:51 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Sun, 2 Jul 2023 15:03:21 +0000 (17:03 +0200)
tests/simplex/orientation_03.cc

index 62bae39dfccd3368b702e385945adbe366c25ffa..ba895f448b0faf3cfcca8574eec8452bbdcf65d4 100644 (file)
 
 template <int dim>
 void
-test()
+test(const unsigned int orientation)
 {
   Triangulation<dim> tria;
 
-  const unsigned int orientation = 3; // 3, 5
-
   if (false)
     {
       unsigned int ref = 2;
@@ -214,7 +212,9 @@ main()
 {
   initlog();
   // test<2>();
-  test<3>();
+
+  for (unsigned int o = 0; o < 6; ++o)
+    test<3>(o);
 
   deallog << "OK!" << std::endl;
 }

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.