mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-07-16 19:41:16 +08:00
Documentation for 394811e601
This commit is contained in:
@@ -206,7 +206,7 @@ Typical structure of a program</h3>
|
||||
<div class="line"><span class="comment"> * @returns void</span></div>
|
||||
<div class="line"><span class="comment"> */</span></div>
|
||||
<div class="line"><span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="../../dc/d5a/rat__maze_8cpp.html#aa8dca7b867074164d5f45b0f3851269d">test</a>() {</div>
|
||||
<div class="line"> <span class="comment">/* desciptions of the following test */</span></div>
|
||||
<div class="line"> <span class="comment">/* descriptions of the following test */</span></div>
|
||||
<div class="line"> assert(func(...) == ...); <span class="comment">// this ensures that the algorithm works as expected</span></div>
|
||||
<div class="line"> </div>
|
||||
<div class="line"> <span class="comment">// can have multiple checks</span></div>
|
||||
|
||||
Reference in New Issue
Block a user