| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>test package — Python(P)DEVS-BBL documentation</title>
- <link rel="stylesheet" href="_static/nature.css" type="text/css" />
- <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
- <link rel="stylesheet" type="text/css" href="_static/custom.css" />
- <script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
- <script type="text/javascript" src="_static/jquery.js"></script>
- <script type="text/javascript" src="_static/underscore.js"></script>
- <script type="text/javascript" src="_static/doctools.js"></script>
- <script type="text/javascript" src="_static/language_data.js"></script>
- <script async="async" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS-MML_HTMLorMML"></script>
- <link rel="index" title="Index" href="genindex.html" />
- <link rel="search" title="Search" href="search.html" />
- <link rel="next" title="test.extra package" href="test.extra.html" />
- <link rel="prev" title="pypdevsbbl.tracers.StatisticsTracer module" href="pypdevsbbl.tracers.StatisticsTracer.html" />
- </head><body>
- <div class="related" role="navigation" aria-label="related navigation">
- <h3>Navigation</h3>
- <ul>
- <li class="right" style="margin-right: 10px">
- <a href="genindex.html" title="General Index"
- accesskey="I">index</a></li>
- <li class="right" >
- <a href="py-modindex.html" title="Python Module Index"
- >modules</a> |</li>
- <li class="right" >
- <a href="test.extra.html" title="test.extra package"
- accesskey="N">next</a> |</li>
- <li class="right" >
- <a href="pypdevsbbl.tracers.StatisticsTracer.html" title="pypdevsbbl.tracers.StatisticsTracer module"
- accesskey="P">previous</a> |</li>
- <li class="nav-item nav-item-0"><a href="index.html">Python(P)DEVS-BBL documentation</a> »</li>
- </ul>
- </div>
- <div class="document">
- <div class="documentwrapper">
- <div class="bodywrapper">
- <div class="body" role="main">
-
- <div class="section" id="module-test">
- <span id="test-package"></span><h1>test package<a class="headerlink" href="#module-test" title="Permalink to this headline">¶</a></h1>
- <p>Tests for <code class="docutils literal notranslate"><span class="pre">Python(P)DEVS-BBL</span></code>.</p>
- <p>Execute this file to accurately set the pythonpath and run the tests.
- By default, the <code class="docutils literal notranslate"><span class="pre">dependencies</span></code> directory is ignored and verbosity
- is enabled. Pass additional <code class="docutils literal notranslate"><span class="pre">pytest</span></code> arguments to run the tests you
- require.</p>
- <div class="admonition note">
- <p class="first admonition-title">Note</p>
- <p>The <a class="reference internal" href="test.extra.test_mathutils.html#module-test.extra.test_mathutils" title="test.extra.test_mathutils"><code class="xref py py-mod docutils literal notranslate"><span class="pre">test.extra.test_mathutils</span></code></a> module takes a while to
- execute. See its documentation for more details.</p>
- <p class="last">Likewise, the tests in the <a class="reference internal" href="test.extra.test_distributions.html#module-test.extra.test_distributions" title="test.extra.test_distributions"><code class="xref py py-mod docutils literal notranslate"><span class="pre">test.extra.test_distributions</span></code></a> may
- take slightly longer than expected. Especially the tests for the
- <cite>binomial</cite>, <cite>pearson6</cite>, <cite>johnsonU</cite>, <cite>johnsonB</cite> and <cite>negbinomial</cite>
- distributions. This is mainly due to a large amount of parameters
- that’s being tested.</p>
- </div>
- <div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="c1"># To execute only the 'fast' tests of the generic package</span>
- <span class="c1"># Execute from the 'src/test' folder.</span>
- python3 __init__.py --ignore<span class="o">=</span>extra/test_mathutils.py --ignore<span class="o">=</span>extra/test_distributions.py .
- </pre></div>
- </div>
- <div class="section" id="subpackages">
- <h2>Subpackages<a class="headerlink" href="#subpackages" title="Permalink to this headline">¶</a></h2>
- <div class="toctree-wrapper compound">
- <ul>
- <li class="toctree-l1"><a class="reference internal" href="test.extra.html">test.extra package</a><ul>
- <li class="toctree-l2"><a class="reference internal" href="test.extra.html#submodules">Submodules</a><ul>
- <li class="toctree-l3"><a class="reference internal" href="test.extra.test_distributions.html">test.extra.test_distributions module</a></li>
- <li class="toctree-l3"><a class="reference internal" href="test.extra.test_fileutils.html">test.extra.test_fileutils module</a></li>
- <li class="toctree-l3"><a class="reference internal" href="test.extra.test_heap.html">test.extra.test_heap module</a></li>
- <li class="toctree-l3"><a class="reference internal" href="test.extra.test_mathutils.html">test.extra.test_mathutils module</a></li>
- <li class="toctree-l3"><a class="reference internal" href="test.extra.test_packaging.html">test.extra.test_packaging module</a></li>
- </ul>
- </li>
- </ul>
- </li>
- <li class="toctree-l1"><a class="reference internal" href="test.generic.html">test.generic package</a><ul>
- <li class="toctree-l2"><a class="reference internal" href="test.generic.html#submodules">Submodules</a><ul>
- <li class="toctree-l3"><a class="reference internal" href="test.generic.test_collectors.html">test.generic.test_collectors module</a></li>
- <li class="toctree-l3"><a class="reference internal" href="test.generic.test_generators.html">test.generic.test_generators module</a></li>
- <li class="toctree-l3"><a class="reference internal" href="test.generic.test_io.html">test.generic.test_io module</a></li>
- <li class="toctree-l3"><a class="reference internal" href="test.generic.test_math.html">test.generic.test_math module</a></li>
- <li class="toctree-l3"><a class="reference internal" href="test.generic.test_queues.html">test.generic.test_queues module</a></li>
- <li class="toctree-l3"><a class="reference internal" href="test.generic.test_routing.html">test.generic.test_routing module</a></li>
- <li class="toctree-l3"><a class="reference internal" href="test.generic.test_transformers.html">test.generic.test_transformers module</a></li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
- <div class="sphinxsidebarwrapper">
- <h4>Previous topic</h4>
- <p class="topless"><a href="pypdevsbbl.tracers.StatisticsTracer.html"
- title="previous chapter">pypdevsbbl.tracers.StatisticsTracer module</a></p>
- <h4>Next topic</h4>
- <p class="topless"><a href="test.extra.html"
- title="next chapter">test.extra package</a></p>
- <div id="searchbox" style="display: none" role="search">
- <h3>Quick search</h3>
- <div class="searchformwrapper">
- <form class="search" action="search.html" method="get">
- <input type="text" name="q" />
- <input type="submit" value="Go" />
- <input type="hidden" name="check_keywords" value="yes" />
- <input type="hidden" name="area" value="default" />
- </form>
- </div>
- </div>
- <script type="text/javascript">$('#searchbox').show(0);</script>
- </div>
- </div>
- <div class="clearer"></div>
- </div>
- <div class="related" role="navigation" aria-label="related navigation">
- <h3>Navigation</h3>
- <ul>
- <li class="right" style="margin-right: 10px">
- <a href="genindex.html" title="General Index"
- >index</a></li>
- <li class="right" >
- <a href="py-modindex.html" title="Python Module Index"
- >modules</a> |</li>
- <li class="right" >
- <a href="test.extra.html" title="test.extra package"
- >next</a> |</li>
- <li class="right" >
- <a href="pypdevsbbl.tracers.StatisticsTracer.html" title="pypdevsbbl.tracers.StatisticsTracer module"
- >previous</a> |</li>
- <li class="nav-item nav-item-0"><a href="index.html">Python(P)DEVS-BBL documentation</a> »</li>
- </ul>
- </div>
- <div class="footer" role="contentinfo">
- © Copyright 2020, Randy Paredis.
- Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.8.5.
- </div>
- </body>
- </html>
|