Ejemplo n.º 1
0
 public static void ArgumentOutOfRangeExceptionTests(int a)
 {
     Assert.Throws <ArgumentOutOfRangeException>(() => Task5.ConvertToLetter(a));
 }
Ejemplo n.º 2
0
        public void ConvertToLetterTests(int a, string expected)
        {
            string actual = Task5.ConvertToLetter(a);

            Assert.AreEqual(expected, actual);
        }