diff --git a/tests/library/iter-tree-explorer-test.cpp b/tests/library/iter-tree-explorer-test.cpp index d12cf70d5..f58fffe8c 100644 --- a/tests/library/iter-tree-explorer-test.cpp +++ b/tests/library/iter-tree-explorer-test.cpp @@ -876,8 +876,66 @@ namespace test{ { return new VerySpecivicIter{*wrappedIter() - 1}; } + + uint + currentVal() const + { + return *wrappedIter(); + } }; - UNIMPLEMENTED ("directly wrap and handle IterSource sub-interfaces"); + + + VerySpecivicIter vsit{5}; + +#if false /////////////////////////////////////////////////////////////////////////////////////////////////////////////UNIMPLEMENTED :: TICKET #888 + auto ii = treeExplore(vsit); + + CHECK (not isnil (ii)); + CHECK (5 == *ii); + ++ii; + CHECK (4 == *ii); + CHECK (4 == vsit.currentVal()); + + VerySpecivicIter* clone = new VerySpecivicIter(vsit); + + CHECK (4 == clone->currentVal()); + + cout << materialise( + treeExplore(clone) + + ) < - + @@ -6364,6 +6364,19 @@ + + + + + + + + + + + + + @@ -6736,7 +6749,7 @@ - + @@ -7052,6 +7065,15 @@ + + + + + + + + + @@ -8059,8 +8081,8 @@ - - + + @@ -8068,8 +8090,8 @@ - - + + @@ -8096,13 +8118,22 @@ - + + + + + + + + + + + + + - - - - +