public void CheckMaxOfArray() { int maxa = 2; int maxb = 4; int maxc = 6; int maxd = 8; int actualResult = scalc.MaxOfArray(maxa, maxb, maxc, maxd); Assert.That(actualResult, Is.GreaterThanOrEqualTo(8).And.LessThanOrEqualTo(8), "Result is 8"); }
public void CheckMaxOfArray() { int maxa = 2; int maxb = 4; int maxc = 6; int maxd = 8; int actualResult = scalc.MaxOfArray(maxa, maxb, maxc, maxd); Assert.That(actualResult, Is.GreaterThanOrEqualTo(8).And.LessThanOrEqualTo(8), "Result is 8"); }