pan class="k">def</span> <span class="nf">test_williams_r</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">arr</span><span class="p">):</span>
        <span class="k">for</span> <span class="n">ar</span> <span class="ow">in</span> <span class="n">arr</span><span class="p">:</span>
            <span class="n">w_res</span> <span class="o">=</span> <span class="p">[]</span>
            <span class="n">oriLen</span> <span class="o">=</span> <span class="nb">len<