diff --git a/applications/test/CircularBuffer/Test-CircularBuffer.C b/applications/test/CircularBuffer/Test-CircularBuffer.C index f16d1512f6..98cde44170 100644 --- a/applications/test/CircularBuffer/Test-CircularBuffer.C +++ b/applications/test/CircularBuffer/Test-CircularBuffer.C @@ -92,7 +92,10 @@ int main(int argc, char *argv[]) } report(buf1); - buf1.push_back(identity(5)); report(buf1); + buf1.push_back(identity(5)); + buf1.emplace_front(-1000); + buf1.emplace_back(1000); + report(buf1); buf1.info(Info); Info<< buf1 << nl; diff --git a/applications/test/FixedList/Test-FixedList.C b/applications/test/FixedList/Test-FixedList.C index 04f24d4959..2324f54b4a 100644 --- a/applications/test/FixedList/Test-FixedList.C +++ b/applications/test/FixedList/Test-FixedList.C @@ -202,14 +202,31 @@ int main(int argc, char *argv[]) Info<< "get<3>: " << list1.get<3>() << nl; // Will not compile: Info<< "get<4>: " << list1.get<4>() << nl; - label a[4] = {0, 1, 2, 3}; - FixedList list2(a); + // Test deprecated form + label array2[4] = {0, 1, 2, 3}; + FixedList list2(array2); Info<< "list2:" << list2 << " hash:" << FixedList::hasher()(list2) << nl << " hash:" << Hash>()(list2) << nl; + // Test deprecated form + SLList