public void FindNextBiggerNumberDurationTestMSTest(int a, int expectedResult) { long ms = -1; int result = BiggestNumber.FindNextBiggerNumber(a, out ms); Assert.IsTrue(ms >= 0); Assert.AreEqual(result, expectedResult); }
public int FindNextBiggerNumberDurationTest(int a) { long ms = -1; int result = BiggestNumber.FindNextBiggerNumber(a, out ms); Assert.That(ms >= 0); return(result); }
public void FindNextBiggerNumberTestMSTest(int a, int result) { Assert.AreEqual(result, BiggestNumber.FindNextBiggerNumber(a)); }
public int FindNextBiggerNumberTest(int a) { return(BiggestNumber.FindNextBiggerNumber(a)); }