https://wiki.octave.org/wiki/index.php?title=Add_BIST_tests_for_octave_functions_written_in_C%2B%2B&feed=atom&action=history
Add BIST tests for octave functions written in C++ - Revision history
2024-03-28T11:21:33Z
Revision history for this page on the wiki
MediaWiki 1.39.2
https://wiki.octave.org/wiki/index.php?title=Add_BIST_tests_for_octave_functions_written_in_C%2B%2B&diff=11241&oldid=prev
Siko1056: Add Category:Development and Category:Testing.
2018-10-03T17:34:08Z
<p>Add <a href="/Category:Development" title="Category:Development">Category:Development</a> and <a href="/Category:Testing" title="Category:Testing">Category:Testing</a>.</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 17:34, 3 October 2018</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1226">Line 1,226:</td>
<td colspan="2" class="diff-lineno">Line 1,226:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|}</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category:Development]]</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category:Testing]]</ins></div></td></tr>
</table>
Siko1056
https://wiki.octave.org/wiki/index.php?title=Add_BIST_tests_for_octave_functions_written_in_C%2B%2B&diff=7064&oldid=prev
Rik: /* Instances */
2015-12-15T19:20:21Z
<p><span dir="auto"><span class="autocomment">Instances</span></span></p>
<a href="https://wiki.octave.org/wiki/index.php?title=Add_BIST_tests_for_octave_functions_written_in_C%2B%2B&diff=7064&oldid=7063">Show changes</a>
Rik
https://wiki.octave.org/wiki/index.php?title=Add_BIST_tests_for_octave_functions_written_in_C%2B%2B&diff=7063&oldid=prev
Rik: /* Introduction */
2015-12-15T18:59:52Z
<p><span dir="auto"><span class="autocomment">Introduction</span></span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 18:59, 15 December 2015</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l215">Line 215:</td>
<td colspan="2" class="diff-lineno">Line 215:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*/</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*/</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></pre></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></pre></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">==== Example 4 : Function tested elsewhere ====</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">The BIST tests are normally located immediately following the DEFUN block. However this is not always the case. For functions that occur in pairs like set()/get() or load()/save() the tests may be located near just one of the functions. Or the tests may be located in a single block somewhere else. This could be the end of the file, or it could be in a separate test file in the test/ directory. In this case, the function needs only to be marked with an explanation about where the tests reside. For example, in bessel.cc there is a large test block at the end of the file and the code includes a note that begins with '%!#' </ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"><pre></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">/*</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">%!# Function besselj is tested along with other bessels at the end of this file</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">*/</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></pre></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Alternatively, it may make sense to move the tests to reside next to the function. For example, cputime() does not have tests in data.cc, but it does in test/system.tst.</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Detailed Instructions ==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Detailed Instructions ==</div></td></tr>
</table>
Rik
https://wiki.octave.org/wiki/index.php?title=Add_BIST_tests_for_octave_functions_written_in_C%2B%2B&diff=7044&oldid=prev
Mtmiller: /* Instances */ update count
2015-12-12T18:47:21Z
<p><span dir="auto"><span class="autocomment">Instances: </span> update count</span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 18:47, 12 December 2015</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l236">Line 236:</td>
<td colspan="2" class="diff-lineno">Line 236:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Total: 280</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Total: 280</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Fixed: <del style="font-weight: bold; text-decoration: none;">11</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Fixed: <ins style="font-weight: bold; text-decoration: none;">12</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{| class="wikitable"</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{| class="wikitable"</div></td></tr>
</table>
Mtmiller
https://wiki.octave.org/wiki/index.php?title=Add_BIST_tests_for_octave_functions_written_in_C%2B%2B&diff=7043&oldid=prev
Mtmiller: /* Instances */ done with getrusage
2015-12-12T18:46:20Z
<p><span dir="auto"><span class="autocomment">Instances: </span> done with getrusage</span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 18:46, 12 December 2015</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l510">Line 510:</td>
<td colspan="2" class="diff-lineno">Line 510:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| ??? || corefcn/getpwent.cc:setpwent</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| ??? || corefcn/getpwent.cc:setpwent</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>| <del style="font-weight: bold; text-decoration: none;">??? </del>|| corefcn/getrusage.cc:getrusage</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>| <ins style="font-weight: bold; text-decoration: none;"><strike> mtmx </strike> </ins>|| <ins style="font-weight: bold; text-decoration: none;"><strike> </ins>corefcn/getrusage.cc:getrusage <ins style="font-weight: bold; text-decoration: none;"></strike></ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| ??? || corefcn/graphics.cc:addlistener</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| ??? || corefcn/graphics.cc:addlistener</div></td></tr>
</table>
Mtmiller
https://wiki.octave.org/wiki/index.php?title=Add_BIST_tests_for_octave_functions_written_in_C%2B%2B&diff=7037&oldid=prev
Mtmiller: /* Instances */ done with bessels
2015-12-12T18:25:27Z
<p><span dir="auto"><span class="autocomment">Instances: </span> done with bessels</span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 18:25, 12 December 2015</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l236">Line 236:</td>
<td colspan="2" class="diff-lineno">Line 236:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Total: 280</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Total: 280</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Fixed: <del style="font-weight: bold; text-decoration: none;">6</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Fixed: <ins style="font-weight: bold; text-decoration: none;">11</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{| class="wikitable"</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{| class="wikitable"</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l244">Line 244:</td>
<td colspan="2" class="diff-lineno">Line 244:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| ??? || corefcn/balance.cc:balance</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| ??? || corefcn/balance.cc:balance</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>| <del style="font-weight: bold; text-decoration: none;">??? </del>|| corefcn/besselj.cc:besselh</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>| <ins style="font-weight: bold; text-decoration: none;"><strike> mtmx </strike> </ins>|| <ins style="font-weight: bold; text-decoration: none;"><strike> </ins>corefcn/besselj.cc:besselh <ins style="font-weight: bold; text-decoration: none;"></strike> (marked as already tested)</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>| <del style="font-weight: bold; text-decoration: none;">??? </del>|| corefcn/besselj.cc:besseli</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>| <ins style="font-weight: bold; text-decoration: none;"><strike> mtmx </strike> </ins>|| <ins style="font-weight: bold; text-decoration: none;"><strike> </ins>corefcn/besselj.cc:besseli <ins style="font-weight: bold; text-decoration: none;"></strike> (marked as already tested)</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>| <del style="font-weight: bold; text-decoration: none;">??? </del>|| corefcn/besselj.cc:besselj</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>| <ins style="font-weight: bold; text-decoration: none;"><strike> mtmx </strike> </ins>|| <ins style="font-weight: bold; text-decoration: none;"><strike> </ins>corefcn/besselj.cc:besselj <ins style="font-weight: bold; text-decoration: none;"></strike> (marked as already tested)</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>| <del style="font-weight: bold; text-decoration: none;">??? </del>|| corefcn/besselj.cc:besselk</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>| <ins style="font-weight: bold; text-decoration: none;"><strike> mtmx </strike> </ins>|| <ins style="font-weight: bold; text-decoration: none;"><strike> </ins>corefcn/besselj.cc:besselk <ins style="font-weight: bold; text-decoration: none;"></strike> (marked as already tested)</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>| <del style="font-weight: bold; text-decoration: none;">??? </del>|| corefcn/besselj.cc:bessely</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>| <ins style="font-weight: bold; text-decoration: none;"><strike> mtmx </strike> </ins>|| <ins style="font-weight: bold; text-decoration: none;"><strike> </ins>corefcn/besselj.cc:bessely <ins style="font-weight: bold; text-decoration: none;"></strike> (marked as already tested)</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| <strike> mtmx </strike> || <strike> corefcn/bitfcns.cc:bitand </strike> (bitand, bitor, and bitxor are tested together)</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| <strike> mtmx </strike> || <strike> corefcn/bitfcns.cc:bitand </strike> (bitand, bitor, and bitxor are tested together)</div></td></tr>
</table>
Mtmiller
https://wiki.octave.org/wiki/index.php?title=Add_BIST_tests_for_octave_functions_written_in_C%2B%2B&diff=7033&oldid=prev
Mtmiller: /* Instances */ done with bitfcns
2015-12-12T18:04:03Z
<p><span dir="auto"><span class="autocomment">Instances: </span> done with bitfcns</span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 18:04, 12 December 2015</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l236">Line 236:</td>
<td colspan="2" class="diff-lineno">Line 236:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Total: 280</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Total: 280</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Fixed: <del style="font-weight: bold; text-decoration: none;">0</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Fixed: <ins style="font-weight: bold; text-decoration: none;">6</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{| class="wikitable"</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{| class="wikitable"</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l254">Line 254:</td>
<td colspan="2" class="diff-lineno">Line 254:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| ??? || corefcn/besselj.cc:bessely</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| ??? || corefcn/besselj.cc:bessely</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>| || <strike> corefcn/bitfcns.cc:bitand </strike> (bitand, bitor, and bitxor are tested together)</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>| <ins style="font-weight: bold; text-decoration: none;"><strike> mtmx </strike> </ins>|| <strike> corefcn/bitfcns.cc:bitand </strike> (bitand, bitor, and bitxor are tested together)</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>| || <strike> corefcn/bitfcns.cc:bitor </strike> (bitand, bitor, and bitxor are tested together)</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>| <ins style="font-weight: bold; text-decoration: none;"><strike> mtmx </strike> </ins>|| <strike> corefcn/bitfcns.cc:bitor </strike> (bitand, bitor, and bitxor are tested together)</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>| mtmx || corefcn/bitfcns.cc:flintmax</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>| <ins style="font-weight: bold; text-decoration: none;"><strike> </ins>mtmx <ins style="font-weight: bold; text-decoration: none;"></strike> </ins>|| <ins style="font-weight: bold; text-decoration: none;"><strike> </ins>corefcn/bitfcns.cc:flintmax <ins style="font-weight: bold; text-decoration: none;"></strike></ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>| mtmx || corefcn/bitfcns.cc:intmax</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>| <ins style="font-weight: bold; text-decoration: none;"><strike> </ins>mtmx <ins style="font-weight: bold; text-decoration: none;"></strike> </ins>|| <ins style="font-weight: bold; text-decoration: none;"><strike> </ins>corefcn/bitfcns.cc:intmax <ins style="font-weight: bold; text-decoration: none;"></strike></ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>| mtmx || corefcn/bitfcns.cc:intmin</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>| <ins style="font-weight: bold; text-decoration: none;"><strike> </ins>mtmx <ins style="font-weight: bold; text-decoration: none;"></strike> </ins>|| <ins style="font-weight: bold; text-decoration: none;"><strike> </ins>corefcn/bitfcns.cc:intmin <ins style="font-weight: bold; text-decoration: none;"></strike></ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>| mtmx || corefcn/bitfcns.cc:sizemax</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>| <ins style="font-weight: bold; text-decoration: none;"><strike> </ins>mtmx <ins style="font-weight: bold; text-decoration: none;"></strike> </ins>|| <ins style="font-weight: bold; text-decoration: none;"><strike> </ins>corefcn/bitfcns.cc:sizemax <ins style="font-weight: bold; text-decoration: none;"></strike></ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| ??? || corefcn/cellfun.cc:cellindexmat</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| ??? || corefcn/cellfun.cc:cellindexmat</div></td></tr>
</table>
Mtmiller
https://wiki.octave.org/wiki/index.php?title=Add_BIST_tests_for_octave_functions_written_in_C%2B%2B&diff=7027&oldid=prev
Mtmiller: /* Instances */ mtmx on bitfcns
2015-12-12T17:37:41Z
<p><span dir="auto"><span class="autocomment">Instances: </span> mtmx on bitfcns</span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 17:37, 12 December 2015</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l254">Line 254:</td>
<td colspan="2" class="diff-lineno">Line 254:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| ??? || corefcn/besselj.cc:bessely</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| ??? || corefcn/besselj.cc:bessely</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>| <del style="font-weight: bold; text-decoration: none;">??? </del>|| corefcn/bitfcns.cc:bitand</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>| || <ins style="font-weight: bold; text-decoration: none;"><strike> </ins>corefcn/bitfcns.cc:bitand <ins style="font-weight: bold; text-decoration: none;"></strike> (bitand, bitor, and bitxor are tested together)</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>| <del style="font-weight: bold; text-decoration: none;">??? </del>|| corefcn/bitfcns.cc:bitor</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>| || <ins style="font-weight: bold; text-decoration: none;"><strike> </ins>corefcn/bitfcns.cc:bitor <ins style="font-weight: bold; text-decoration: none;"></strike> (bitand, bitor, and bitxor are tested together)</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>| <del style="font-weight: bold; text-decoration: none;">??? </del>|| corefcn/bitfcns.cc:flintmax</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>| <ins style="font-weight: bold; text-decoration: none;">mtmx </ins>|| corefcn/bitfcns.cc:flintmax</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>| <del style="font-weight: bold; text-decoration: none;">??? </del>|| corefcn/bitfcns.cc:intmax</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>| <ins style="font-weight: bold; text-decoration: none;">mtmx </ins>|| corefcn/bitfcns.cc:intmax</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>| <del style="font-weight: bold; text-decoration: none;">??? </del>|| corefcn/bitfcns.cc:intmin</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>| <ins style="font-weight: bold; text-decoration: none;">mtmx </ins>|| corefcn/bitfcns.cc:intmin</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>| <del style="font-weight: bold; text-decoration: none;">??? </del>|| corefcn/bitfcns.cc:sizemax</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>| <ins style="font-weight: bold; text-decoration: none;">mtmx </ins>|| corefcn/bitfcns.cc:sizemax</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| ??? || corefcn/cellfun.cc:cellindexmat</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| ??? || corefcn/cellfun.cc:cellindexmat</div></td></tr>
</table>
Mtmiller
https://wiki.octave.org/wiki/index.php?title=Add_BIST_tests_for_octave_functions_written_in_C%2B%2B&diff=6926&oldid=prev
Rik: Formatting changes
2015-12-05T00:52:16Z
<p>Formatting changes</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 00:52, 5 December 2015</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l6">Line 6:</td>
<td colspan="2" class="diff-lineno">Line 6:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div># Basic functionality</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div># Basic functionality</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* Does it work for all different combinations of number of inputs and number of outputs</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">#</ins>* Does it work for all different combinations of number of inputs and number of outputs</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* Does it work for all expected input classes (matrices, strings, logicals, cell arrays, structs?)</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">#</ins>* Does it work for all expected input classes (matrices, strings, logicals, cell arrays, structs?)</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div># Corner Case functionality</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div># Corner Case functionality</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* Does it work for corner cases (empty matrices, Inf or NaN, etc.)</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">#</ins>* Does it work for corner cases (empty matrices, Inf or NaN, etc.)</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* Tests for specific bugs that have been reported on the bug tracker</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">#</ins>* Tests for specific bugs that have been reported on the bug tracker</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div># Input validation</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div># Input validation</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* Does it correctly generate errors or warnings for bad inputs</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">#</ins>* Does it correctly generate errors or warnings for bad inputs</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==== Example 1 : Simple Function (rows() from data.cc) ====</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==== Example 1 : Simple Function (rows() from data.cc) ====</div></td></tr>
</table>
Rik
https://wiki.octave.org/wiki/index.php?title=Add_BIST_tests_for_octave_functions_written_in_C%2B%2B&diff=6925&oldid=prev
Rik: Create page
2015-12-05T00:42:06Z
<p>Create page</p>
<p><b>New page</b></p><div>== Introduction ==<br />
<br />
As new features are added to Octave we need to ensure that we don't break existing functionality. At the heart of that promise not to break functionality lies regression testing. Regression testing is done practically daily and certainly whenever a signicant change is committed. The core of the regression tests are Built-In Self Tests (BIST) which are tests written in the Octave language itself that are placed in comments just below the code being tested. The full documentation for these tests is in Appendix B of the manual ([https://www.gnu.org/software/octave/doc/interpreter/Test-Functions.html#Test-Functions Test Functions]). While BIST tests exist for most m-file functions, many core functions written in C++ lack these BIST tests. The goal of this sprint topic is to significantly reduce the number of uncovered core functions.<br />
<br />
The syntax for writing tests is documented in Appendix B. The general form of the tests is<br />
<br />
# Basic functionality<br />
* Does it work for all different combinations of number of inputs and number of outputs<br />
* Does it work for all expected input classes (matrices, strings, logicals, cell arrays, structs?)<br />
# Corner Case functionality<br />
* Does it work for corner cases (empty matrices, Inf or NaN, etc.)<br />
* Tests for specific bugs that have been reported on the bug tracker<br />
# Input validation<br />
* Does it correctly generate errors or warnings for bad inputs<br />
<br />
==== Example 1 : Simple Function (rows() from data.cc) ====<br />
<br />
'''C++ Code'''<br />
<br />
<pre><br />
octave_value retval;<br />
<br />
if (args.length () == 1)<br />
retval = args(0).rows ();<br />
else<br />
print_usage ();<br />
<br />
return retval;<br />
</pre><br />
<br />
'''BIST tests'''<br />
<br />
<pre><br />
/*<br />
%!assert (rows (ones (2,5)), 2)<br />
%!assert (rows (ones (5,2)), 5)<br />
%!assert (rows (ones (5,4,3,2)), 2)<br />
%!assert (rows (ones (3,4,5,2)), 3)<br />
<br />
%!assert (rows (cell (2,5)), 2)<br />
%!assert (rows (cell (5,2)), 5)<br />
%!assert (rows (cell (5,4,3,2)), 2)<br />
%!assert (rows (cell (3,4,5,2)), 3)<br />
<br />
%!test<br />
%! x(2,5,3).a = 1;<br />
%! assert (rows (x), 2);<br />
%! y(5,4,3).b = 2;<br />
%! assert (rows (y), 5);<br />
<br />
%!assert (rows ("Hello World"), 1)<br />
<br />
%!assert (rows ([]), 0)<br />
%!assert (rows (zeros (2,0), 2)<br />
<br />
## Test input validation<br />
%!error rows ()<br />
%!error rows (1,2)<br />
*/<br />
</pre><br />
<br />
==== Example 2 : Complicated input validation (issorted() from data.cc) ====<br />
<br />
'''C++ Code'''<br />
<br />
<pre><br />
octave_value retval;<br />
<br />
int nargin = args.length ();<br />
<br />
if (nargin < 1 || nargin > 3)<br />
{<br />
print_usage ();<br />
return retval;<br />
}<br />
<br />
bool by_rows = false;<br />
<br />
sortmode smode = ASCENDING;<br />
<br />
if (nargin > 1)<br />
{<br />
octave_value mode_arg;<br />
<br />
if (nargin == 3)<br />
smode = get_sort_mode_option (args(2));<br />
<br />
std::string tmp = args(1).xstring_value ("issorted: second argument must be a string");<br />
if (tmp == "rows")<br />
by_rows = true;<br />
else<br />
smode = get_sort_mode_option (args(1));<br />
}<br />
<br />
octave_value arg = args(0);<br />
<br />
if (by_rows)<br />
{<br />
if (arg.is_sparse_type ())<br />
error ("issorted: sparse matrices not yet supported");<br />
if (arg.ndims () == 2)<br />
retval = arg.is_sorted_rows (smode) != UNSORTED;<br />
else<br />
error ("issorted: A must be a 2-dimensional object");<br />
}<br />
else<br />
{<br />
if (arg.dims ().is_vector ())<br />
retval = args(0).is_sorted (smode) != UNSORTED;<br />
else<br />
error ("issorted: needs a vector");<br />
}<br />
<br />
return retval;<br />
}<br />
</pre><br />
<br />
'''BIST tests'''<br />
<br />
<pre><br />
/*<br />
%!shared sm, um, sv, uv<br />
%! sm = [1, 2; 3, 4];<br />
%! um = [3, 1; 2, 4];<br />
%! sv = [1, 2, 3, 4];<br />
%! uv = [2, 1, 4, 3];<br />
<br />
%!assert (issorted (sm, "rows"))<br />
%!assert (! issorted (um, "rows"))<br />
%!assert (issorted (sv))<br />
%!assert (! issorted (uv))<br />
%!assert (issorted (sv'))<br />
%!assert (! issorted (uv'))<br />
%!assert (issorted (sm, "rows", "ascending"))<br />
%!assert (! issorted (um, "rows", "ascending"))<br />
%!assert (issorted (sv, "ascending"))<br />
%!assert (! issorted (uv, "ascending"))<br />
%!assert (issorted (sv', "ascending"))<br />
%!assert (! issorted (uv', "ascending"))<br />
%!assert (! issorted (sm, "rows", "descending"))<br />
%!assert (issorted (flipud (sm), "rows", "descending"))<br />
%!assert (! issorted (sv, "descending"))<br />
%!assert (issorted (fliplr (sv), "descending"))<br />
%!assert (! issorted (sv', "descending"))<br />
%!assert (issorted (fliplr (sv)', "descending"))<br />
%!assert (! issorted (um, "rows", "either"))<br />
%!assert (! issorted (uv, "either"))<br />
%!assert (issorted (sm, "rows", "either"))<br />
%!assert (issorted (flipud (sm), "rows", "either"))<br />
%!assert (issorted (sv, "either"))<br />
%!assert (issorted (fliplr (sv), "either"))<br />
%!assert (issorted (sv', "either"))<br />
%!assert (issorted (fliplr (sv)', "either"))<br />
<br />
%!error <needs a vector> issorted ([])<br />
<br />
## Test input validation<br />
%!error issorted () <br />
%!error issorted (1,2,3,4) <br />
%!error <second argument must be a string> issorted (1, 2)<br />
%!error <second argument must be a string> issorted (1, {"rows"})<br />
%!error <sparse matrices not yet supported> issorted (sparse ([1 2 3]), "rows")<br />
%!error <A must be a 2-dimensional object> issorted (rand (2,2,2), "rows")<br />
%!error <needs a vector> issorted (ones (2,2))<br />
*/<br />
</pre><br />
<br />
==== Example 3 : Interactive or otherwise untestable function (keyboard() from input.cc) ====<br />
<br />
'''C++ Code'''<br />
<br />
<pre><br />
octave_value_list retval;<br />
<br />
int nargin = args.length ();<br />
<br />
if (nargin == 0 || nargin == 1)<br />
{<br />
unwind_protect frame;<br />
<br />
frame.add_fcn (octave_call_stack::restore_frame,<br />
octave_call_stack::current_frame ());<br />
<br />
// Skip the frame assigned to the keyboard function.<br />
octave_call_stack::goto_frame_relative (0);<br />
<br />
tree_evaluator::debug_mode = true;<br />
tree_evaluator::quiet_breakpoint_flag = false;<br />
<br />
tree_evaluator::current_frame = octave_call_stack::current_frame ();<br />
<br />
do_keyboard (args);<br />
}<br />
else<br />
print_usage ();<br />
<br />
return retval;<br />
</pre><br />
<br />
'''BIST tests'''<br />
<br />
For interactive functions there may be no way to actually test the function. In this case it is appropriate to mark the function so it will no longer show up as untested in later reports. Use the following code to do that.<br />
<br />
<pre><br />
/*<br />
%!# No BIST tests possible for keyboard function.<br />
*/<br />
</pre><br />
<br />
But, before you absolutely disable testing for a function, look to see if you can at least do input validation tests. In this case,<br />
<br />
<pre><br />
/*<br />
%!error keyboard (1,2)<br />
*/<br />
</pre><br />
<br />
== Detailed Instructions ==<br />
<br />
The list of undocumented C++ functions is in the Instances section. Tests should be enclosed by '/*' and '*/' multi-line comment markers. The comment block should have one newline above and below it to separate it from surrounding code.<br />
<br />
To avoid duplication, sign up for a particular function by editing the Instances section of this wiki page and replacing '???' with your name. When you have edited a file you should verify that everything is okay by executing<br />
<br />
<pre><br />
make all<br />
./run-octave<br />
test FILENAME.cc<br />
</pre><br />
<br />
When that passes, let a Maintainer know so that we can check in the changes. Also, add the wiki tags <pre><strike> ... </strike></pre> to the Instances section to cross the file off the list. In addition, increment the number of documented functions by +1.<br />
<br />
== Instances ==<br />
<br />
Start of Sprint<br />
<br />
Total: 280<br />
<br />
Fixed: 0<br />
<br />
{| class="wikitable"<br />
!Owner !! File<br />
<br />
|-<br />
| ??? || corefcn/balance.cc:balance<br />
|-<br />
| ??? || corefcn/besselj.cc:besselh<br />
|-<br />
| ??? || corefcn/besselj.cc:besseli<br />
|-<br />
| ??? || corefcn/besselj.cc:besselj<br />
|-<br />
| ??? || corefcn/besselj.cc:besselk<br />
|-<br />
| ??? || corefcn/besselj.cc:bessely<br />
|-<br />
| ??? || corefcn/bitfcns.cc:bitand<br />
|-<br />
| ??? || corefcn/bitfcns.cc:bitor<br />
|-<br />
| ??? || corefcn/bitfcns.cc:flintmax<br />
|-<br />
| ??? || corefcn/bitfcns.cc:intmax<br />
|-<br />
| ??? || corefcn/bitfcns.cc:intmin<br />
|-<br />
| ??? || corefcn/bitfcns.cc:sizemax<br />
|-<br />
| ??? || corefcn/cellfun.cc:cellindexmat<br />
|-<br />
| ??? || corefcn/colloc.cc:colloc<br />
|-<br />
| ??? || corefcn/daspk.cc:daspk<br />
|-<br />
| ??? || corefcn/dasrt.cc:dasrt<br />
|-<br />
| ??? || corefcn/data.cc:I<br />
|-<br />
| ??? || corefcn/data.cc:and<br />
|-<br />
| ??? || corefcn/data.cc:colon<br />
|-<br />
| ??? || corefcn/data.cc:columns<br />
|-<br />
| ??? || corefcn/data.cc:complex<br />
|-<br />
| ??? || corefcn/data.cc:cputime<br />
|-<br />
| ??? || corefcn/data.cc:e<br />
|-<br />
| ??? || corefcn/data.cc:eq<br />
|-<br />
| ??? || corefcn/data.cc:false<br />
|-<br />
| ??? || corefcn/data.cc:full<br />
|-<br />
| ??? || corefcn/data.cc:ge<br />
|-<br />
| ??? || corefcn/data.cc:gt<br />
|-<br />
| ??? || corefcn/data.cc:ipermute<br />
|-<br />
| ??? || corefcn/data.cc:iscomplex<br />
|-<br />
| ??? || corefcn/data.cc:isfloat<br />
|-<br />
| ??? || corefcn/data.cc:isinteger<br />
|-<br />
| ??? || corefcn/data.cc:isreal<br />
|-<br />
| ??? || corefcn/data.cc:ldivide<br />
|-<br />
| ??? || corefcn/data.cc:le<br />
|-<br />
| ??? || corefcn/data.cc:length<br />
|-<br />
| ??? || corefcn/data.cc:lt<br />
|-<br />
| ??? || corefcn/data.cc:merge<br />
|-<br />
| ??? || corefcn/data.cc:minus<br />
|-<br />
| ??? || corefcn/data.cc:mldivide<br />
|-<br />
| ??? || corefcn/data.cc:mpower<br />
|-<br />
| ??? || corefcn/data.cc:mrdivide<br />
|-<br />
| ??? || corefcn/data.cc:mtimes<br />
|-<br />
| ??? || corefcn/data.cc:ndims<br />
|-<br />
| ??? || corefcn/data.cc:ne<br />
|-<br />
| ??? || corefcn/data.cc:nnz<br />
|-<br />
| ??? || corefcn/data.cc:not<br />
|-<br />
| ??? || corefcn/data.cc:nth_element<br />
|-<br />
| ??? || corefcn/data.cc:numel<br />
|-<br />
| ??? || corefcn/data.cc:nzmax<br />
|-<br />
| ??? || corefcn/data.cc:or<br />
|-<br />
| ??? || corefcn/data.cc:permute<br />
|-<br />
| ??? || corefcn/data.cc:pi<br />
|-<br />
| ??? || corefcn/data.cc:plus<br />
|-<br />
| ??? || corefcn/data.cc:power<br />
|-<br />
| ??? || corefcn/data.cc:rdivide<br />
|-<br />
| ??? || corefcn/data.cc:realmax<br />
|-<br />
| ??? || corefcn/data.cc:realmin<br />
|-<br />
| ??? || corefcn/data.cc:repelems<br />
|-<br />
| ??? || corefcn/data.cc:resize<br />
|-<br />
| ??? || corefcn/data.cc:rows<br />
|-<br />
| ??? || corefcn/data.cc:size<br />
|-<br />
| ??? || corefcn/data.cc:size_equal<br />
|-<br />
| ??? || corefcn/data.cc:squeeze<br />
|-<br />
| ??? || corefcn/data.cc:tic<br />
|-<br />
| ??? || corefcn/data.cc:times<br />
|-<br />
| ??? || corefcn/data.cc:true<br />
|-<br />
| ??? || corefcn/data.cc:uminus<br />
|-<br />
| ??? || corefcn/data.cc:uplus<br />
|-<br />
| ??? || corefcn/debug.cc:dbclear<br />
|-<br />
| ??? || corefcn/debug.cc:dbcont<br />
|-<br />
| ??? || corefcn/debug.cc:dbdown<br />
|-<br />
| ??? || corefcn/debug.cc:dblist<br />
|-<br />
| ??? || corefcn/debug.cc:dbquit<br />
|-<br />
| ??? || corefcn/debug.cc:dbstack<br />
|-<br />
| ??? || corefcn/debug.cc:dbstatus<br />
|-<br />
| ??? || corefcn/debug.cc:dbstep<br />
|-<br />
| ??? || corefcn/debug.cc:dbstop<br />
|-<br />
| ??? || corefcn/debug.cc:dbtype<br />
|-<br />
| ??? || corefcn/debug.cc:dbup<br />
|-<br />
| ??? || corefcn/debug.cc:dbwhere<br />
|-<br />
| ??? || corefcn/debug.cc:isdebugmode<br />
|-<br />
| ??? || corefcn/dirfns.cc:cd<br />
|-<br />
| ??? || corefcn/dirfns.cc:confirm_recursive_rmdir<br />
|-<br />
| ??? || corefcn/dirfns.cc:filesep<br />
|-<br />
| ??? || corefcn/dirfns.cc:pathsep<br />
|-<br />
| ??? || corefcn/dirfns.cc:pwd<br />
|-<br />
| ??? || corefcn/dirfns.cc:readdir<br />
|-<br />
| ??? || corefcn/error.cc:beep_on_error<br />
|-<br />
| ??? || corefcn/error.cc:debug_on_error<br />
|-<br />
| ??? || corefcn/error.cc:debug_on_warning<br />
|-<br />
| ??? || corefcn/error.cc:error<br />
|-<br />
| ??? || corefcn/error.cc:lasterr<br />
|-<br />
| ??? || corefcn/error.cc:lasterror<br />
|-<br />
| ??? || corefcn/error.cc:lastwarn<br />
|-<br />
| ??? || corefcn/error.cc:rethrow<br />
|-<br />
| ??? || corefcn/error.cc:warning<br />
|-<br />
| ??? || corefcn/fft.cc:fft<br />
|-<br />
| ??? || corefcn/fft2.cc:fft2<br />
|-<br />
| ??? || corefcn/fftn.cc:fftn<br />
|-<br />
| ??? || corefcn/fftn.cc:ifftn<br />
|-<br />
| ??? || corefcn/file-io.cc:fclear<br />
|-<br />
| ??? || corefcn/file-io.cc:fclose<br />
|-<br />
| ??? || corefcn/file-io.cc:fflush<br />
|-<br />
| ??? || corefcn/file-io.cc:fgetl<br />
|-<br />
| ??? || corefcn/file-io.cc:fgets<br />
|-<br />
| ??? || corefcn/file-io.cc:fopen<br />
|-<br />
| ??? || corefcn/file-io.cc:fprintf<br />
|-<br />
| ??? || corefcn/file-io.cc:fputs<br />
|-<br />
| ??? || corefcn/file-io.cc:fread<br />
|-<br />
| ??? || corefcn/file-io.cc:freport<br />
|-<br />
| ??? || corefcn/file-io.cc:frewind<br />
|-<br />
| ??? || corefcn/file-io.cc:fscanf<br />
|-<br />
| ??? || corefcn/file-io.cc:fseek<br />
|-<br />
| ??? || corefcn/file-io.cc:fskipl<br />
|-<br />
| ??? || corefcn/file-io.cc:ftell<br />
|-<br />
| ??? || corefcn/file-io.cc:fwrite<br />
|-<br />
| ??? || corefcn/file-io.cc:mkstemp<br />
|-<br />
| ??? || corefcn/file-io.cc:printf<br />
|-<br />
| ??? || corefcn/file-io.cc:puts<br />
|-<br />
| ??? || corefcn/file-io.cc:scanf<br />
|-<br />
| ??? || corefcn/file-io.cc:sprintf<br />
|-<br />
| ??? || corefcn/file-io.cc:sscanf<br />
|-<br />
| ??? || corefcn/file-io.cc:tmpfile<br />
|-<br />
| ??? || corefcn/getgrent.cc:endgrent<br />
|-<br />
| ??? || corefcn/getgrent.cc:getgrent<br />
|-<br />
| ??? || corefcn/getgrent.cc:getgrgid<br />
|-<br />
| ??? || corefcn/getgrent.cc:getgrnam<br />
|-<br />
| ??? || corefcn/getgrent.cc:setgrent<br />
|-<br />
| ??? || corefcn/getpwent.cc:endpwent<br />
|-<br />
| ??? || corefcn/getpwent.cc:getpwent<br />
|-<br />
| ??? || corefcn/getpwent.cc:getpwnam<br />
|-<br />
| ??? || corefcn/getpwent.cc:getpwuid<br />
|-<br />
| ??? || corefcn/getpwent.cc:setpwent<br />
|-<br />
| ??? || corefcn/getrusage.cc:getrusage<br />
|-<br />
| ??? || corefcn/graphics.cc:addlistener<br />
|-<br />
| ??? || corefcn/graphics.cc:addproperty<br />
|-<br />
| ??? || corefcn/graphics.cc:available_graphics_toolkits<br />
|-<br />
| ??? || corefcn/graphics.cc:dellistener<br />
|-<br />
| ??? || corefcn/graphics.cc:drawnow<br />
|-<br />
| ??? || corefcn/graphics.cc:ishandle<br />
|-<br />
| ??? || corefcn/graphics.cc:loaded_graphics_toolkits<br />
|-<br />
| ??? || corefcn/graphics.cc:register_graphics_toolkit<br />
|-<br />
| ??? || corefcn/graphics.cc:set<br />
|-<br />
| ??? || corefcn/graphics.cc:waitfor<br />
|-<br />
| ??? || corefcn/help.cc:built_in_docstrings_file<br />
|-<br />
| ??? || corefcn/help.cc:doc_cache_file<br />
|-<br />
| ??? || corefcn/help.cc:get_help_text<br />
|-<br />
| ??? || corefcn/help.cc:get_help_text_from_file<br />
|-<br />
| ??? || corefcn/help.cc:info_file<br />
|-<br />
| ??? || corefcn/help.cc:info_program<br />
|-<br />
| ??? || corefcn/help.cc:makeinfo_program<br />
|-<br />
| ??? || corefcn/help.cc:suppress_verbose_help_message<br />
|-<br />
| ??? || corefcn/help.cc:texi_macros_file<br />
|-<br />
| ??? || corefcn/input.cc:PS1<br />
|-<br />
| ??? || corefcn/input.cc:PS2<br />
|-<br />
| ??? || corefcn/input.cc:PS4<br />
|-<br />
| ??? || corefcn/input.cc:add_input_event_hook<br />
|-<br />
| ??? || corefcn/input.cc:completion_append_char<br />
|-<br />
| ??? || corefcn/input.cc:echo_executing_commands<br />
|-<br />
| ??? || corefcn/input.cc:filemarker<br />
|-<br />
| ??? || corefcn/input.cc:input<br />
|-<br />
| ??? || corefcn/input.cc:keyboard<br />
|-<br />
| ??? || corefcn/input.cc:readline_re_read_init_file<br />
|-<br />
| ??? || corefcn/input.cc:readline_read_init_file<br />
|-<br />
| ??? || corefcn/input.cc:remove_input_event_hook<br />
|-<br />
| ??? || corefcn/input.cc:yes_or_no<br />
|-<br />
| ??? || corefcn/inv.cc:inverse<br />
|-<br />
| ??? || corefcn/load-path.cc:addpath<br />
|-<br />
| ??? || corefcn/load-path.cc:command_line_path<br />
|-<br />
| ??? || corefcn/load-path.cc:genpath<br />
|-<br />
| ??? || corefcn/load-path.cc:path<br />
|-<br />
| ??? || corefcn/load-path.cc:rehash<br />
|-<br />
| ??? || corefcn/load-path.cc:restoredefaultpath<br />
|-<br />
| ??? || corefcn/load-path.cc:rmpath<br />
|-<br />
| ??? || corefcn/load-save.cc:crash_dumps_octave_core<br />
|-<br />
| ??? || corefcn/load-save.cc:load<br />
|-<br />
| ??? || corefcn/load-save.cc:octave_core_file_limit<br />
|-<br />
| ??? || corefcn/load-save.cc:octave_core_file_name<br />
|-<br />
| ??? || corefcn/load-save.cc:octave_core_file_options<br />
|-<br />
| ??? || corefcn/load-save.cc:save<br />
|-<br />
| ??? || corefcn/load-save.cc:save_default_options<br />
|-<br />
| ??? || corefcn/load-save.cc:save_header_format_string<br />
|-<br />
| ??? || corefcn/ls-oct-text.cc:save_precision<br />
|-<br />
| ??? || corefcn/mappers.cc:angle<br />
|-<br />
| ??? || corefcn/oct-hist.cc:edit_history<br />
|-<br />
| ??? || corefcn/oct-hist.cc:history<br />
|-<br />
| ??? || corefcn/oct-hist.cc:history_control<br />
|-<br />
| ??? || corefcn/oct-hist.cc:history_file<br />
|-<br />
| ??? || corefcn/oct-hist.cc:history_save<br />
|-<br />
| ??? || corefcn/oct-hist.cc:history_size<br />
|-<br />
| ??? || corefcn/oct-hist.cc:history_timestamp_format_string<br />
|-<br />
| ??? || corefcn/oct-hist.cc:run_history<br />
|-<br />
| ??? || corefcn/pager.cc:PAGER<br />
|-<br />
| ??? || corefcn/pager.cc:PAGER_FLAGS<br />
|-<br />
| ??? || corefcn/pager.cc:diary<br />
|-<br />
| ??? || corefcn/pager.cc:more<br />
|-<br />
| ??? || corefcn/pager.cc:page_output_immediately<br />
|-<br />
| ??? || corefcn/pager.cc:page_screen_output<br />
|-<br />
| ??? || corefcn/pager.cc:terminal_size<br />
|-<br />
| ??? || corefcn/pr-output.cc:disp<br />
|-<br />
| ??? || corefcn/pr-output.cc:fixed_point_format<br />
|-<br />
| ??? || corefcn/pr-output.cc:format<br />
|-<br />
| ??? || corefcn/pr-output.cc:output_max_field_width<br />
|-<br />
| ??? || corefcn/pr-output.cc:output_precision<br />
|-<br />
| ??? || corefcn/pr-output.cc:print_empty_dimensions<br />
|-<br />
| ??? || corefcn/pr-output.cc:rats<br />
|-<br />
| ??? || corefcn/pr-output.cc:split_long_rows<br />
|-<br />
| ??? || corefcn/pt-jit.cc:debug_jit<br />
|-<br />
| ??? || corefcn/pt-jit.cc:jit_enable<br />
|-<br />
| ??? || corefcn/pt-jit.cc:jit_failcnt<br />
|-<br />
| ??? || corefcn/pt-jit.cc:jit_startcnt<br />
|-<br />
| ??? || corefcn/sparse.cc:issparse<br />
|-<br />
| ??? || corefcn/sparse.cc:spalloc<br />
|-<br />
| ??? || corefcn/sparse.cc:sparse<br />
|-<br />
| ??? || corefcn/sub2ind.cc:ind2sub<br />
|-<br />
| ??? || corefcn/symtab.cc:set_variable<br />
|-<br />
| ??? || corefcn/syscalls.cc:gethostname<br />
|-<br />
| ??? || corefcn/syscalls.cc:uname<br />
|-<br />
| ??? || corefcn/sysdep.cc:clc<br />
|-<br />
| ??? || corefcn/sysdep.cc:have_window_system<br />
|-<br />
| ??? || corefcn/sysdep.cc:kbhit<br />
|-<br />
| ??? || corefcn/sysdep.cc:unsetenv<br />
|-<br />
| ??? || corefcn/toplev.cc:atexit<br />
|-<br />
| ??? || corefcn/toplev.cc:quit<br />
|-<br />
| ??? || corefcn/toplev.cc:warranty<br />
|-<br />
| ??? || corefcn/tril.cc:tril<br />
|-<br />
| ??? || corefcn/typecast.cc:bitpack<br />
|-<br />
| ??? || corefcn/typecast.cc:bitunpack<br />
|-<br />
| ??? || corefcn/typecast.cc:typecast<br />
|-<br />
| ??? || corefcn/urlwrite.cc:urlread<br />
|-<br />
| ??? || corefcn/urlwrite.cc:urlwrite<br />
|-<br />
| ??? || corefcn/variables.cc:clear<br />
|-<br />
| ??? || corefcn/variables.cc:isglobal<br />
|-<br />
| ??? || corefcn/variables.cc:mislocked<br />
|-<br />
| ??? || corefcn/variables.cc:missing_component_hook<br />
|-<br />
| ??? || corefcn/variables.cc:missing_function_hook<br />
|-<br />
| ??? || corefcn/variables.cc:mlock<br />
|-<br />
| ??? || corefcn/variables.cc:munlock<br />
|-<br />
| ??? || corefcn/variables.cc:who<br />
|-<br />
| ??? || corefcn/variables.cc:whos<br />
|-<br />
| ??? || corefcn/variables.cc:whos_line_format<br />
|-<br />
| ??? || octave-value/ov-cell.cc:cell<br />
|-<br />
| ??? || octave-value/ov-cell.cc:cellstr<br />
|-<br />
| ??? || octave-value/ov-cell.cc:iscell<br />
|-<br />
| ??? || octave-value/ov-cell.cc:iscellstr<br />
|-<br />
| ??? || octave-value/ov-class.cc:inferiorto<br />
|-<br />
| ??? || octave-value/ov-class.cc:ismethod<br />
|-<br />
| ??? || octave-value/ov-class.cc:isobject<br />
|-<br />
| ??? || octave-value/ov-class.cc:superiorto<br />
|-<br />
| ??? || octave-value/ov-classdef.cc.wip:metaclass<br />
|-<br />
| ??? || octave-value/ov-classdef.cc:metaclass<br />
|-<br />
| ??? || octave-value/ov-fcn-handle.cc:func2str<br />
|-<br />
| ??? || octave-value/ov-fcn-handle.cc:functions<br />
|-<br />
| ??? || octave-value/ov-java.cc:debug_java<br />
|-<br />
| ??? || octave-value/ov-java.cc:java2mat<br />
|-<br />
| ??? || octave-value/ov-java.cc:java_matrix_autoconversion<br />
|-<br />
| ??? || octave-value/ov-java.cc:java_unsigned_autoconversion<br />
|-<br />
| ??? || octave-value/ov-struct.cc:isfield<br />
|-<br />
| ??? || octave-value/ov-struct.cc:isstruct<br />
|-<br />
| ??? || octave-value/ov-struct.cc:print_struct_array_contents<br />
|-<br />
| ??? || octave-value/ov-struct.cc:struct_levels_to_print<br />
|-<br />
| ??? || octave-value/ov-usr-fcn.cc:nargin<br />
|-<br />
| ??? || octave-value/ov-usr-fcn.cc:nargout<br />
|-<br />
| ??? || octave-value/ov-usr-fcn.cc:optimize_subsasgn_calls<br />
|-<br />
| ??? || octave-value/ov.cc:subsref<br />
|-<br />
| ??? || parse-tree/oct-parse.cc:assignin<br />
|-<br />
| ??? || parse-tree/oct-parse.cc:autoload<br />
|-<br />
| ??? || parse-tree/oct-parse.cc:builtin<br />
|-<br />
| ??? || parse-tree/oct-parse.cc:evalin<br />
|-<br />
| ??? || parse-tree/oct-parse.cc:feval<br />
|-<br />
| ??? || parse-tree/oct-parse.cc:mfilename<br />
|-<br />
| ??? || parse-tree/oct-parse.cc:source<br />
|-<br />
| ??? || parse-tree/oct-parse.in.yy:assignin<br />
|-<br />
| ??? || parse-tree/oct-parse.in.yy:autoload<br />
|-<br />
| ??? || parse-tree/oct-parse.in.yy:builtin<br />
|-<br />
| ??? || parse-tree/oct-parse.in.yy:evalin<br />
|-<br />
| ??? || parse-tree/oct-parse.in.yy:feval<br />
|-<br />
| ??? || parse-tree/oct-parse.in.yy:mfilename<br />
|-<br />
| ??? || parse-tree/oct-parse.in.yy:source<br />
|-<br />
<br />
|}</div>
Rik