Example #1
0
        public void TestMethod5()
        {
            string strWord = ConvertNumberToWords.NumberToWord(8989);

            Assert.AreEqual(strWord, "eight thousand, nine hundred eighty-nine");
        }
Example #2
0
        public void TestMethod4()
        {
            string strWord = ConvertNumberToWords.NumberToWord(523);

            Assert.AreEqual(strWord, "five hundred twenty-three");
        }
Example #3
0
        public void TestMethod2()
        {
            string strWord = ConvertNumberToWords.NumberToWord(-5);

            Assert.AreEqual(strWord, "negative five");
        }
Example #4
0
        public void TestMethod3()
        {
            string strWord = ConvertNumberToWords.NumberToWord(9923);

            Assert.AreEqual(strWord, "nine thousand, nine hundred twenty-three");
        }
Example #5
0
        public void TestMethod1()
        {
            string strWord = ConvertNumberToWords.NumberToWord(13456);

            Assert.AreEqual(strWord, "thirteen thousand, four hundred fifty-six");
        }