From 52dad70753818ccd7b6c7fde29e89f4575f2b98b Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Thu, 4 May 2023 15:59:17 +0200 Subject: [PATCH] Segmentation: Split-Splice algorithm implementation complete ...and verified including corner cases... --- src/lib/split-splice.hpp | 10 ++-- tests/15library.tests | 2 +- tests/library/split-splice-test.cpp | 56 +++++++++++++++++-- wiki/thinkPad.ichthyo.mm | 84 ++++++++++++++++++----------- 4 files changed, 110 insertions(+), 42 deletions(-) diff --git a/src/lib/split-splice.hpp b/src/lib/split-splice.hpp index 0386cd319..4cdedbddb 100644 --- a/src/lib/split-splice.hpp +++ b/src/lib/split-splice.hpp @@ -70,9 +70,10 @@ ** values until matching the end of the preceding segment ** - if both values are omitted, the new segment will replace the last segment of the given axis. ** The new segment may span an arbitrary range within the domain and may thus possibly supersede - ** several existing segments, which are then removed by the `DELETE` operation. + ** several existing segments, which are then removed by the `DELETE` operation. ** - ** @todo 2023 WIP + ** @see SplitSplice_test + ** @see steam::fixture::Segmentation::splitSplice */ @@ -335,9 +336,6 @@ namespace lib { } }; - }//(End) namespace splitsplace - - - + }//namespace splitsplace } // namespace lib #endif /*LIB_SPLIT_SPLICE_H*/ diff --git a/tests/15library.tests b/tests/15library.tests index 32285b56a..86d3c59ae 100644 --- a/tests/15library.tests +++ b/tests/15library.tests @@ -585,7 +585,7 @@ return: 0 END -PLANNED "Split/Splice segmentation" SplitSplice_test < - - - + + + @@ -70309,15 +70309,15 @@ - - + + - - - + + + @@ -70346,11 +70346,14 @@ - - + + + + + @@ -70453,34 +70456,55 @@ - - - - + + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + +