示例#1
0
        public void GetNegativeNumberReturnArgumentException()
        {
            int inputNumber = -213;

            Assert.Throws <ArgumentException>(() =>
                                              FindNextBiggerNumberClass.FindNextBiggerNumber(inputNumber));
        }
示例#2
0
 public int?FindNextBiggerNumberPositiveTests(int inputNumber)
 {
     return(FindNextBiggerNumberClass.FindNextBiggerNumber(inputNumber));
 }
 public int?FindNextBiggerNumberTest(int a)
 {
     return(FindNextBiggerNumberClass.FindNextBiggerNumber(a));
 }