Пример #1
0
        public void NextBiggerNumber_Params_EqualToResult(int number, int result)
        {
            int r = NumericMethods.FindNextBiggerNumber(number, out _);

            Assert.AreEqual(result, r);
        }
Пример #2
0
 public void NextBiggerNumber_NegativeNumber_Excepion()
 {
     Assert.Throws <ArgumentOutOfRangeException>(() => NumericMethods.FindNextBiggerNumber(-23, out _));
 }