<h2id="Block-long-annotation">Block long annotation<aclass="anchor-link"href="#Block-long-annotation">¶</a></h2><divclass="highlight"><pre><span></span><spanclass="cm">/**</span>
<h2id="Pydoc"><ahref="https://docs.python.org/3.6/library/pydoc.html">Pydoc</a><aclass="anchor-link"href="#Pydoc">¶</a></h2><p>A simple documentation can be generated with</p>
<li><p>Configuring Sphinx produces a 'conf.py' and 'index.rst' files.</p>
<ul>
<li>The easiest way $\Longrightarrow$ using <em>sphinx-quickstart</em> and <em>sphinx-apidoc</em> applications</li>
</ul>
</li>
<li><p>Launch sphinx to generate a html webpage:</p>
</li>
</ul>
<divclass="highlight"><pre><span></span>sphinx-build src dest
</pre></div>
<ul>
<li>Useful tutorials: <ahref="http://www.sphinx-doc.org/en/master/usage/quickstart.html">sphinx-quickstart</a> and <ahref="https://codeandchaos.wordpress.com/2012/07/30/sphinx-autodoc-tutorial-for-dummies/">sphinx-autodoc-tutorial-for-dummies</a></li>
<h1id="Google-Unit-Test-for-C++-testing"><ahref="https://github.com/google/googletest">Google Unit Test</a> for C++ testing<aclass="anchor-link"href="#Google-Unit-Test-for-C++-testing">¶</a></h1>
<h2id="Testing-the-(similar)-mysqrt-function">Testing the (similar) mysqrt function<aclass="anchor-link"href="#Testing-the-(similar)-mysqrt-function">¶</a></h2><divclass="highlight"><pre><span></span><spanclass="k">def</span><spanclass="nf">mysqrt</span><spanclass="p">(</span><spanclass="n">x</span><spanclass="p">):</span>