From f39d7ee7e7490d49f1c5b9e6315dd8e6e1d9db34 Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 29 Jul 2022 10:38:30 +1000 Subject: Use SplitVector directly instead of throughSplitVectorWithRangeAdd which was only ever used by Partitioning. --- test/unit/testPartitioning.cxx | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'test') 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 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