private CheckTermCounts ( int precisionStep, int termCountT, int termCountC ) : void | ||
precisionStep | int | |
termCountT | int | |
termCountC | int | |
return | void |
private void CheckTermCounts(int precisionStep, int termCountT, int termCountC)
{
if (precisionStep == int.MaxValue)
{
Assert.AreEqual(termCountC, termCountT, "Number of terms should be equal for unlimited precStep");
}
else
{
Assert.IsTrue(termCountT <= termCountC, "Number of terms for NRQ should be <= compared to classical TRQ");
}
}