public void NextBiggerNumber_NegativeOrZeroNumber_ThrowsArgumentOutOfRangeException(int number) { Assert.Throws <ArgumentOutOfRangeException>(() => IntOperations.NextBiggerNumber(number)); }
public void NextBiggerNumber_AlmostBiggestIntegerNumbers_ThrowsOverFlowException(int number) { Assert.Throws <OverflowException>(() => IntOperations.NextBiggerNumber(number)); }
public int NextBiggerNumber_PositiveIntegerNumber_PositiveTest(int number) { return(IntOperations.NextBiggerNumber(number)); }