diff options
author | Neil <nyamatongwe@gmail.com> | 2018-02-01 09:07:21 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-02-01 09:07:21 +1100 |
commit | 7d7d4e120999de66e4fc882f3d6224603ccb306f (patch) | |
tree | f684c46712831c1f4800bed37d9dd278645a8cd2 /test/unit/testPartitioning.cxx | |
parent | 592b3ac7cd3651ccc58376b5323e231b0834e34b (diff) | |
download | scintilla-mirror-7d7d4e120999de66e4fc882f3d6224603ccb306f.tar.gz |
Backport: Templatize Partitioning so it can hold different types.
Backport of changeset 6444:1bd57324aa36.
Diffstat (limited to 'test/unit/testPartitioning.cxx')
-rw-r--r-- | test/unit/testPartitioning.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/testPartitioning.cxx b/test/unit/testPartitioning.cxx index ed2957289..68471979b 100644 --- a/test/unit/testPartitioning.cxx +++ b/test/unit/testPartitioning.cxx @@ -26,7 +26,7 @@ static const int testArray[lengthTestArray] = {3, 4, 5, 6, 7, 8, 9, 10}; TEST_CASE("SplitVectorWithRangeAdd") { - SplitVectorWithRangeAdd svwra(growSize); + SplitVectorWithRangeAdd<int> svwra(growSize); SECTION("IsEmptyInitially") { REQUIRE(0 == svwra.Length()); @@ -49,7 +49,7 @@ TEST_CASE("SplitVectorWithRangeAdd") { TEST_CASE("Partitioning") { - Partitioning part(growSize); + Partitioning<int> part(growSize); SECTION("IsEmptyInitially") { REQUIRE(1 == part.Partitions()); |