Skip to content

Commit

Permalink
Add more unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jedlimlx committed Nov 16, 2020
1 parent 49b5876 commit 726351f
Show file tree
Hide file tree
Showing 55 changed files with 3,816 additions and 3,248 deletions.
751 changes: 16 additions & 735 deletions javadoc/allclasses-index.html

Large diffs are not rendered by default.

132 changes: 8 additions & 124 deletions javadoc/allpackages-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (13.0.1) on Sun Nov 15 17:00:24 SGT 2020 -->
<!-- Generated by javadoc (13.0.1) on Mon Nov 16 12:09:24 SGT 2020 -->
<title>All Packages</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2020-11-15">
<meta name="dc.created" content="2020-11-16">
<meta name="description" content="package index">
<meta name="generator" content="javadoc/AllPackagesIndexWriter">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
Expand Down Expand Up @@ -37,7 +37,7 @@
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="CAViewer/module-summary.html">Module</a></li>
<li><a href="index.html">Overview</a></li>
<li>Package</li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
Expand Down Expand Up @@ -80,135 +80,19 @@ <h1 title="All&amp;nbsp;Packages" class="title">All&nbsp;Packages</h1>
</thead>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/package-summary.html">sample</a></th>
<th class="colFirst" scope="row"><a href="sample/model/rules/hrot/package-summary.html">sample.model.rules.hrot</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/commands/package-summary.html">sample.commands</a></th>
<th class="colFirst" scope="row"><a href="sample/model/rules/isotropic/rules/package-summary.html">sample.model.rules.isotropic.rules</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/controller/package-summary.html">sample.controller</a></th>
<th class="colFirst" scope="row"><a href="sample/model/rules/misc/package-summary.html">sample.model.rules.misc</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/controller/dialogs/package-summary.html">sample.controller.dialogs</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/controller/dialogs/rule/package-summary.html">sample.controller.dialogs.rule</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/controller/dialogs/rule/hrot/package-summary.html">sample.controller.dialogs.rule.hrot</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/controller/dialogs/rule/isotropic/package-summary.html">sample.controller.dialogs.rule.isotropic</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/controller/dialogs/rule/misc/package-summary.html">sample.controller.dialogs.rule.misc</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/controller/dialogs/rule/ruleloader/package-summary.html">sample.controller.dialogs.rule.ruleloader</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/controller/dialogs/search/package-summary.html">sample.controller.dialogs.search</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/model/package-summary.html">sample.model</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/model/database/package-summary.html">sample.model.database</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/model/patterns/package-summary.html">sample.model.patterns</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/model/rules/package-summary.html">sample.model.rules</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/model/rules/hrot/package-summary.html">sample.model.rules.hrot</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/model/rules/hrot/enemies/package-summary.html">sample.model.rules.hrot.enemies</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/model/rules/hrot/history/package-summary.html">sample.model.rules.hrot.history</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/model/rules/hrot/symbiosis/package-summary.html">sample.model.rules.hrot.symbiosis</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/model/rules/isotropic/rules/package-summary.html">sample.model.rules.isotropic.rules</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/model/rules/isotropic/rules/energetic/package-summary.html">sample.model.rules.isotropic.rules.energetic</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/model/rules/isotropic/rules/history/package-summary.html">sample.model.rules.isotropic.rules.history</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/model/rules/isotropic/transitions/package-summary.html">sample.model.rules.isotropic.transitions</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/model/rules/misc/package-summary.html">sample.model.rules.misc</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/model/rules/ruleloader/package-summary.html">sample.model.rules.ruleloader</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/model/rules/ruleloader/ruletable/package-summary.html">sample.model.rules.ruleloader.ruletable</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/model/rules/ruleloader/ruletree/package-summary.html">sample.model.rules.ruleloader.ruletree</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/model/search/package-summary.html">sample.model.search</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/model/search/catsrc/package-summary.html">sample.model.search.catsrc</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/model/search/cfind/package-summary.html">sample.model.search.cfind</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/model/search/csearch/package-summary.html">sample.model.search.csearch</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/model/search/rulesrc/package-summary.html">sample.model.search.rulesrc</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/model/simulation/package-summary.html">sample.model.simulation</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="CAViewer/sample/model/simulation/bounds/package-summary.html">sample.model.simulation.bounds</a></th>
<th class="colFirst" scope="row"><a href="sample/model/rules/ruleloader/package-summary.html">sample.model.rules.ruleloader</a></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
Expand All @@ -227,7 +111,7 @@ <h1 title="All&amp;nbsp;Packages" class="title">All&nbsp;Packages</h1>
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="CAViewer/module-summary.html">Module</a></li>
<li><a href="index.html">Overview</a></li>
<li>Package</li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
Expand Down
68 changes: 4 additions & 64 deletions javadoc/constant-values.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (13.0.1) on Sun Nov 15 17:00:24 SGT 2020 -->
<!-- Generated by javadoc (13.0.1) on Mon Nov 16 12:09:24 SGT 2020 -->
<title>Constant Field Values</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2020-11-15">
<meta name="dc.created" content="2020-11-16">
<meta name="description" content="summary of constants">
<meta name="generator" content="javadoc/ConstantsSummaryWriterImpl">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
Expand Down Expand Up @@ -37,7 +37,7 @@
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="CAViewer/module-summary.html">Module</a></li>
<li><a href="index.html">Overview</a></li>
<li>Package</li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
Expand Down Expand Up @@ -69,66 +69,6 @@
<h1 title="Constant Field Values" class="title">Constant Field Values</h1>
<section class="packages">
<h2 title="Contents">Contents</h2>
<ul>
<li><a href="#sample.model">sample.model.*</a></li>
</ul>
</section>
</div>
<div class="constantValuesContainer"><a id="sample.model">
<!-- -->
</a>
<section class="constantsSummary">
<h2 title="sample.model">sample.model.*</h2>
<ul class="blockList">
<li class="blockList">
<div class="constantsSummary">
<table>
<caption><span>sample.model.rules.hrot.<a href="CAViewer/sample/model/rules/hrot/BaseHROT.html" title="class in sample.model.rules.hrot">BaseHROT</a></span><span class="tabEnd">&nbsp;</span></caption>
<thead>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Constant Field</th>
<th class="colLast" scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr class="altColor">
<td class="colFirst"><a id="sample.model.rules.hrot.BaseHROT.hrotTransitions">
<!-- -->
</a><code>protected&nbsp;static&nbsp;final&nbsp;java.lang.String</code></td>
<th class="colSecond" scope="row"><code><a href="CAViewer/sample/model/rules/hrot/BaseHROT.html#hrotTransitions">hrotTransitions</a></code></th>
<td class="colLast"><code>"(((\\d,(?=\\d))|(\\d-(?=\\d))|\\d)+)?"</code></td>
</tr>
</tbody>
</table>
</div>
</li>
</ul>
<ul class="blockList">
<li class="blockList">
<div class="constantsSummary">
<table>
<caption><span>sample.model.rules.isotropic.rules.<a href="CAViewer/sample/model/rules/isotropic/rules/BaseINT.html" title="class in sample.model.rules.isotropic.rules">BaseINT</a></span><span class="tabEnd">&nbsp;</span></caption>
<thead>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Constant Field</th>
<th class="colLast" scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr class="altColor">
<td class="colFirst"><a id="sample.model.rules.isotropic.rules.BaseINT.neighbourhoodRegex">
<!-- -->
</a><code>protected&nbsp;final&nbsp;java.lang.String</code></td>
<th class="colSecond" scope="row"><code><a href="CAViewer/sample/model/rules/isotropic/rules/BaseINT.html#neighbourhoodRegex">neighbourhoodRegex</a></code></th>
<td class="colLast"><code>"(M|K|H|FC|FE|C2)"</code></td>
</tr>
</tbody>
</table>
</div>
</li>
</ul>
</section>
</div>
</main>
Expand All @@ -143,7 +83,7 @@ <h2 title="sample.model">sample.model.*</h2>
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="CAViewer/module-summary.html">Module</a></li>
<li><a href="index.html">Overview</a></li>
<li>Package</li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
Expand Down
8 changes: 4 additions & 4 deletions javadoc/deprecated-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (13.0.1) on Sun Nov 15 17:00:24 SGT 2020 -->
<!-- Generated by javadoc (13.0.1) on Mon Nov 16 12:09:24 SGT 2020 -->
<title>Deprecated List</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2020-11-15">
<meta name="dc.created" content="2020-11-16">
<meta name="description" content="deprecated elements">
<meta name="generator" content="javadoc/DeprecatedListWriter">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
Expand Down Expand Up @@ -37,7 +37,7 @@
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="CAViewer/module-summary.html">Module</a></li>
<li><a href="index.html">Overview</a></li>
<li>Package</li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
Expand Down Expand Up @@ -81,7 +81,7 @@ <h2 title="Contents">Contents</h2>
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="CAViewer/module-summary.html">Module</a></li>
<li><a href="index.html">Overview</a></li>
<li>Package</li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
Expand Down
30 changes: 0 additions & 30 deletions javadoc/element-list
Original file line number Diff line number Diff line change
@@ -1,34 +1,4 @@
module:CAViewer
sample
sample.commands
sample.controller
sample.controller.dialogs
sample.controller.dialogs.rule
sample.controller.dialogs.rule.hrot
sample.controller.dialogs.rule.isotropic
sample.controller.dialogs.rule.misc
sample.controller.dialogs.rule.ruleloader
sample.controller.dialogs.search
sample.model
sample.model.database
sample.model.patterns
sample.model.rules
sample.model.rules.hrot
sample.model.rules.hrot.enemies
sample.model.rules.hrot.history
sample.model.rules.hrot.symbiosis
sample.model.rules.isotropic.rules
sample.model.rules.isotropic.rules.energetic
sample.model.rules.isotropic.rules.history
sample.model.rules.isotropic.transitions
sample.model.rules.misc
sample.model.rules.ruleloader
sample.model.rules.ruleloader.ruletable
sample.model.rules.ruleloader.ruletree
sample.model.search
sample.model.search.catsrc
sample.model.search.cfind
sample.model.search.csearch
sample.model.search.rulesrc
sample.model.simulation
sample.model.simulation.bounds
17 changes: 6 additions & 11 deletions javadoc/help-doc.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (13.0.1) on Sun Nov 15 17:00:24 SGT 2020 -->
<!-- Generated by javadoc (13.0.1) on Mon Nov 16 12:09:24 SGT 2020 -->
<title>API Help</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2020-11-15">
<meta name="dc.created" content="2020-11-16">
<meta name="description" content="help">
<meta name="generator" content="javadoc/HelpWriter">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
Expand Down Expand Up @@ -37,7 +37,7 @@
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="CAViewer/module-summary.html">Module</a></li>
<li><a href="index.html">Overview</a></li>
<li>Package</li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
Expand Down Expand Up @@ -73,13 +73,8 @@ <h1 class="title">How This API Document Is Organized</h1>
<ul class="blockList">
<li class="blockList">
<section class="helpSection">
<h2>Module</h2>
<p>Each module has a page that contains a list of its packages, dependencies on other modules, and services, with a summary for each. These page may contain three categories:</p>
<ul>
<li>Packages</li>
<li>Modules</li>
<li>Services</li>
</ul>
<h2>Overview</h2>
<p>The <a href="index.html">Overview</a> page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.</p>
</section>
</li>
<li class="blockList">
Expand Down Expand Up @@ -206,7 +201,7 @@ <h2>Search</h2>
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="CAViewer/module-summary.html">Module</a></li>
<li><a href="index.html">Overview</a></li>
<li>Package</li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
Expand Down
Loading

0 comments on commit 726351f

Please sign in to comment.