From 159c01cb0a83172d295a11c9c0c6a4585128efe6 Mon Sep 17 00:00:00 2001
From: Philip Trettner <Philip.Trettner@rwth-aachen.de>
Date: Fri, 22 Nov 2019 07:07:30 +0100
Subject: [PATCH] except for split and add_face, topo fuzzer is working

---
 extern/polymesh                 |  2 +-
 tests/algorithms/topo-fuzzer.cc | 17 +++++++++--------
 2 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/extern/polymesh b/extern/polymesh
index 36c49b6..1d149fb 160000
--- a/extern/polymesh
+++ b/extern/polymesh
@@ -1 +1 @@
-Subproject commit 36c49b6dd7d1d4dd96a198541f77882e18741cf5
+Subproject commit 1d149fb8aaa0f06ca1256faffb9dea5268eaf1d5
diff --git a/tests/algorithms/topo-fuzzer.cc b/tests/algorithms/topo-fuzzer.cc
index 36fc5c2..ec5dd17 100644
--- a/tests/algorithms/topo-fuzzer.cc
+++ b/tests/algorithms/topo-fuzzer.cc
@@ -15,7 +15,7 @@
 
 TEST_CASE("topo fuzzer")
 {
-    return; // fails currently
+    // return; // fails currently
 
     for (auto _ = 0; _ < 20; ++_)
     {
@@ -102,12 +102,13 @@ TEST_CASE("topo fuzzer")
         });
 
         // edge ops
-        ops.emplace_back("split edge", [&] {
-            if (m.edges().empty())
-                return;
-            auto e = m.edges().random(rng);
-            m.edges().split(e);
-        });
+        // TODO: fixme!
+        // ops.emplace_back("split edge", [&] {
+        //     if (m.edges().empty())
+        //         return;
+        //     auto e = m.edges().random(rng);
+        //     m.edges().split(e);
+        // });
         ops.emplace_back("flip edge", [&] {
             if (m.edges().empty())
                 return;
@@ -163,7 +164,7 @@ TEST_CASE("topo fuzzer")
         for (auto i = 0; i < 100; ++i)
         {
             auto const& op = uniform(rng, ops);
-            std::cout << op.first << std::endl;
+            // std::cout << op.first << std::endl;
             op.second();
             m.assert_consistency();
         }
-- 
GitLab