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 | 171899690407c0c81e0444478cb7ef64a9291c11 (patch) | |
tree | 194ce6b75d2b20d608d3b6427891f89715785857 /test/unit/testPartitioning.cxx | |
parent | 45476f7be057d95d1157485d27c27ea388f25f04 (diff) | |
download | scintilla-mirror-171899690407c0c81e0444478cb7ef64a9291c11.tar.gz |
Templatize Partitioning so it can hold different types.
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()); |