diff options
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/testPartitioning.cxx | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/test/unit/testPartitioning.cxx b/test/unit/testPartitioning.cxx index 7e12c2ff0..fc55b4da1 100644 --- a/test/unit/testPartitioning.cxx +++ b/test/unit/testPartitioning.cxx @@ -25,29 +25,6 @@ using namespace Scintilla::Internal; constexpr int lengthTestArray = 8; static const int testArray[lengthTestArray] = {3, 4, 5, 6, 7, 8, 9, 10}; -// Test SplitVectorWithRangeAdd. - -TEST_CASE("SplitVectorWithRangeAdd") { - - SplitVectorWithRangeAdd<int> svwra; - - SECTION("IsEmptyInitially") { - REQUIRE(0 == svwra.Length()); - } - - SECTION("IncrementExceptEnds") { - svwra.InsertFromArray(0, testArray, 0, lengthTestArray); - svwra.RangeAddDelta(1, lengthTestArray-1, 1); - for (int i=0; i<svwra.Length(); i++) { - if ((i == 0) || (i == lengthTestArray-1)) - REQUIRE((i+3) == svwra.ValueAt(i)); - else - REQUIRE((i+4) == svwra.ValueAt(i)); - } - } - -} - // Test Partitioning. TEST_CASE("Partitioning") { |