Пример #1
0
 public void RightTwoDigitNumberInWordsNegativeTests(int number)
 {
     Assert.Throws <ArgumentException>(() => Branching.RightTwoDigitNumberInWords(number));
 }
Пример #2
0
        public void RightTwoDigitNumberInWordsTests(int number, string expected)
        {
            string actual = Branching.RightTwoDigitNumberInWords(number);

            Assert.AreEqual(expected, actual);
        }