as test inputs.   A typical test case will create a list using <code class="language-c++ highlighter-rouge"><span class="n">createList</span></code>, pass the list as the input to the function being tested, compare the result list to the expected using <code class="language-c++ highlighter-rouge"><span class="n">areEquivalent</span></code>, and then use <code class="language-c++ highlighter-rouge"><span class="n">deallocateList</span></code> to recycle the the list memory. To avoid reports of memory leaks, 