예제 #1
0
    static void Main()
    {
        Console.WriteLine("Please enter a number and we will convert it into word-form:");
        string          input        = Console.ReadLine();
        NumberConverter converterBoy = new NumberConverter();

        Console.WriteLine(converterBoy.ConvertToWords(input));
    }
예제 #2
0
 public void ConvertToWords_NumbersOnly_TryAgain()
 {
     Assert.AreEqual("Numerical input only! Please try again.", testNumberConverter.ConvertToWords("ten"));
 }