From 09a263431cbe402e75c845700f24eef81fb21425 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Tue, 28 Nov 2017 03:52:13 +0100 Subject: [PATCH] TreeExplorer: note further functionality to supplement - add a filter (should be low hanging fruit) - wrap the result as IterSource --- tests/library/iter-tree-explorer-test.cpp | 21 ++++++++++++++++++ wiki/thinkPad.ichthyo.mm | 26 +++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/tests/library/iter-tree-explorer-test.cpp b/tests/library/iter-tree-explorer-test.cpp index 377450b6e..0d6b1dec0 100644 --- a/tests/library/iter-tree-explorer-test.cpp +++ b/tests/library/iter-tree-explorer-test.cpp @@ -224,6 +224,8 @@ namespace test{ verify_expandOperation(); verify_transformOperation(); verify_combinedExpandTransform(); + verify_FilterIterator(); + verify_asIterSource(); verify_depthFirstExploration(); demonstrate_LayeredEvaluation(); @@ -530,6 +532,25 @@ namespace test{ } + /** @test add a filtering predicate into the pipeline + */ + void + verify_FilterIterator() + { + UNIMPLEMENTED("preconfigured repeated depth-first expansion"); + } + + + /** @test package the resulting Iterator as automatically managed, + * polymorphic opaque implementing the IterSource interface. + */ + void + verify_asIterSource() + { + UNIMPLEMENTED("preconfigured repeated depth-first expansion"); + } + + /** @test use a preconfigured exploration scheme to expand depth-first until exhaustion */ void diff --git a/wiki/thinkPad.ichthyo.mm b/wiki/thinkPad.ichthyo.mm index d1944df15..74cf7a0e0 100644 --- a/wiki/thinkPad.ichthyo.mm +++ b/wiki/thinkPad.ichthyo.mm @@ -5367,6 +5367,26 @@ + + + + + + + + + + + + + + + + + + + + @@ -5463,6 +5483,12 @@ + + + + + +