about summary refs log tree commit diff stats
path: root/html/002test.cc.html
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-10-22 16:27:36 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-10-22 16:27:36 -0700
commitc02478c4010d54acfaed0318a2c2c689b468e92e (patch)
tree8cdc5a15f685e4ef27205a59306f5781a10b3899 /html/002test.cc.html
parent6a9d8191dfb5606f8d3630375f3ec045bd534ba3 (diff)
downloadmu-c02478c4010d54acfaed0318a2c2c689b468e92e.tar.gz
3558
Diffstat (limited to 'html/002test.cc.html')
-rw-r--r--html/002test.cc.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/html/002test.cc.html b/html/002test.cc.html
index 2010d08a..8ef2c73d 100644
--- a/html/002test.cc.html
+++ b/html/002test.cc.html
@@ -36,18 +36,18 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color
 <span class="Comment">//: 'test_'. To run all tests so defined, run:</span>
 <span class="Comment">//:   $ mu test</span>
 <span class="Comment">//:</span>
-<span class="Comment">//: So far it seems tasteful for layers to never ever reach back to modify</span>
-<span class="Comment">//: previously-defined tests. Every test is a contract once written, and should</span>
-<span class="Comment">//: pass as-is if it is included, regardless of how much later layers change</span>
-<span class="Comment">//: the program. Avoid writing 'temporary' tests that only work with some</span>
-<span class="Comment">//: subsets of the program.</span>
+<span class="Comment">//: Every layer should include tests, and can reach into previous layers.</span>
+<span class="Comment">//: However, it seems like a good idea never to reach into tests from previous</span>
+<span class="Comment">//: layers. Every test should be a contract that always passes as originally</span>
+<span class="Comment">//: written, regardless of any later layers. Avoid writing 'temporary' tests</span>
+<span class="Comment">//: that are only meant to work until some layer.</span>
 
 <span class="Delimiter">:(before &quot;End Types&quot;)</span>
 <span class="Normal">typedef</span> <span class="Normal">void</span> <span class="Delimiter">(</span>*test_fn<span class="Delimiter">)(</span><span class="Normal">void</span><span class="Delimiter">);</span>
 <span class="Delimiter">:(before &quot;Globals&quot;)</span>
 <span class="Comment">// move a global ahead into types that we can't generate an extern declaration for</span>
 <span class="Normal">const</span> test_fn Tests[] = <span class="Delimiter">{</span>
-<span class="PreProc">  #include </span><span class="Constant">&quot;test_list&quot;</span>  <span class="Comment">// auto-generated; see makefile</span>
+<span class="PreProc">  #include </span><span class="Constant">&quot;test_list&quot;</span>  <span class="Comment">// auto-generated; see 'build' script</span>
 <span class="Delimiter">};</span>
 
 <span class="Delimiter">:(before &quot;End Globals&quot;)</span>