<br><div class="gmail_quote">On Tue, Dec 22, 2009 at 4:21 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
1) I would modify the current test for triangle.<br>
2) When you add the TestPolygon test, check vtkPolygon's coverage to<br>
see if you can exercise some uncovered code. There are 193 uncovered<br>
lines of code:<br>
<a href="http://www.cdash.org/CDash/viewCoverageFile.php?buildid=498540&fileid=10908473" target="_blank">http://www.cdash.org/CDash/viewCoverageFile.php?buildid=498540&fileid=10908473</a><br>
<font color="#888888"><br>
Bill<br>
</font><div><div></div><div class="h5"></div></div></blockquote></div><br><div>Ok, I'll add more polygon tests. I've never looked at these coverage files - I'm assuming that the red 000000 means that line is not tested? Can you figure out where the line is tested by the number? e.g.</div>
<div><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 14px; "><pre>00037579   void vtkPolygon::ComputeNormal(vtkPoints *p, double *n)</pre><pre><font class="Apple-style-span" face="arial"><span class="Apple-style-span" style="white-space: normal; font-size: small;">How would you turn 00037579 into a file name?</span></font></pre>
</span></div><div>Thanks,<br><br>David</div>