Answers for "NUnit TestCase Syntax"

0

NUnit TestCase Syntax

[TestCase(12, 3, 4)]
[TestCase(12, 2, 6)]
[TestCase(12, 4, 3)]
public void DivideTest(int n, int d, int q)
{
    Assert.AreEqual(q, n / d);
}
Posted by: Guest on June-24-2021

Browse Popular Code Answers by Language