From 84ecdcbca9e55b1f57fbb832e12ff4fdbb86e7c9 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Mon, 4 Dec 2023 01:37:11 +0100 Subject: core: Fixed broken tree impl. --- tests/tree.cpp | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'tests') diff --git a/tests/tree.cpp b/tests/tree.cpp index a33f0b1..2515ee9 100644 --- a/tests/tree.cpp +++ b/tests/tree.cpp @@ -2,25 +2,6 @@ #include namespace { -/* -SAW_TEST("Tree insert"){ - using namespace saw; - - branch troi; - { - // Replace with value - auto eor = troi.replace_tree(5); - - SAW_EXPECT(eor.is_value(), "Didn't manage to replace with value"); - } - { - // Replace with tree again - auto eor = troi.replace_value(tree{}); - - SAW_EXPECT(eor.is_value(), "Not a value"); - } -} - SAW_TEST("Tree add child"){ using namespace saw; @@ -40,5 +21,4 @@ SAW_TEST("Tree add child"){ SAW_EXPECT(eov2.is_value(), "Didn't manage to add to inner tree"); } } -*/ } -- cgit v1.2.3