public void CheckFindNextBiggerNumberArgumentOutOfRangeException(int sourceNumber, bool showExecutionTime) { Assert.Throws <ArgumentOutOfRangeException>(() => Izh04BasicCoding.FindNextBiggerNumber(sourceNumber, showExecutionTime)); }
public int CheckFindNextBiggerNumber(int sourceNumber, bool showExecutionTime) { int nextBiggerNumber = Izh04BasicCoding.FindNextBiggerNumber(sourceNumber, showExecutionTime); return(nextBiggerNumber); }