ic void TestMethod(int num)
{
    Assert.IsTrue( num % 2 == 0 );
}
</pre></div>

</ol>

<h3>TestCaseData Class</h3>

<p>Although any object implementing <b>ITestCaseData</b> may be used to
   provide extended test case information, NUnit provides the <b>TestCaseData</b>
   class for this purpose. The following    example returns <b>TestCaseData</b>
   instances from a data source in a separately defined class.

<div class="code"><pre class="prettyprint">[TestFixture]
public class MyTests
{
  [Test,TestCaseS