-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtestingsuite.html
138 lines (128 loc) · 6.1 KB
/
testingsuite.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<title>Testing Suite — dcEmb v0.1.0 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/embecosm-theme.css" />
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="prev" title="Installation" href="install.html" />
</head><body>
<div class="logo">
<a href="index.html">
<img src="_static/logo.png"
alt="Embecosm Logo" width="185" height="75"/></a>
</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"
accesskey="I">index</a></li>
<li class="right" >
<a href="install.html" title="Installation"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">dcEmb v0.1.0 documentation</a> »</li>
<li class="nav-item nav-item-this"><a href="">Testing Suite</a></li>
</ul>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h3><a href="index.html">Table of Contents</a></h3>
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="contributing.html">Contributing</a></li>
<li class="toctree-l1"><a class="reference internal" href="currentmodels.html">Current Models</a></li>
<li class="toctree-l1"><a class="reference internal" href="doxygen.html">Documentation</a></li>
<li class="toctree-l1"><a class="reference internal" href="howto.html">Building Your Own model</a></li>
<li class="toctree-l1"><a class="reference internal" href="install.html">Installation</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Testing Suite</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#current-tests">Current tests</a></li>
<li class="toctree-l2"><a class="reference internal" href="#gtest">GTest</a></li>
</ul>
</li>
</ul>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/testingsuite.rst.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
<input type="submit" value="Go" />
</form>
</div>
</div>
<script>$('#searchbox').show(0);</script>
</div>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<section id="testing-suite">
<h1>Testing Suite<a class="headerlink" href="#testing-suite" title="Permalink to this headline">¶</a></h1>
<p>dcEmb uses Googles GTest framework to run it’s tests. There is still some work
to be done on these tests, but they are currently split up into three
executables, roughly corresponding to tests that take a short, moderate, and
long amount of time to run respectively.</p>
<section id="current-tests">
<h2>Current tests<a class="headerlink" href="#current-tests" title="Permalink to this headline">¶</a></h2>
<section id="run-tests">
<h3>run_tests<a class="headerlink" href="#run-tests" title="Permalink to this headline">¶</a></h3>
<p>A suite of unit tests, covering most base functionality</p>
</section>
<section id="run-serialization-tests">
<h3>run_serialization_tests<a class="headerlink" href="#run-serialization-tests" title="Permalink to this headline">¶</a></h3>
<p>A test suite that runs short versions of the COVID and 3Body models, and
verifies that the resulting objects can be serialized/deserialized.</p>
</section>
<section id="run-tests-long">
<h3>run_tests_long<a class="headerlink" href="#run-tests-long" title="Permalink to this headline">¶</a></h3>
<p>A test suite that runs the full COVID model and verifies it’s accuracy against
a known benchmark. May take several hours to run, depending on the platform.</p>
</section>
</section>
<section id="gtest">
<h2>GTest<a class="headerlink" href="#gtest" title="Permalink to this headline">¶</a></h2>
<p>GTest is available on <a class="reference external" href="https://github.com/google/googletest">GitHub</a> with
corresponding documentation on
<a class="reference external" href="https://google.github.io/googletest/">GitHub pages</a>.</p>
</section>
</section>
<div class="clearer"></div>
</div>
</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="install.html" title="Installation"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">dcEmb v0.1.0 documentation</a> »</li>
<li class="nav-item nav-item-this"><a href="">Testing Suite</a></li>
</ul>
</div>
<div class="footer" role="contentinfo">
© Copyright 2022, William Jones.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 4.1.1.
</div>
</body>
</html>