public void NumberToWords_ReturnsCorrect_Result_ForOneDigitNumber()
        {
            var words = _converterService.NumberToWords(5);

            Assert.AreEqual("FIVE DOLLARS", words);
        }
Exemple #2
0
 public string Get(decimal number)
 {
     return(_converterService.NumberToWords(number));
 }