Exemple #1
0
        public void MakeNumeronym_returnTwoHundred_string()
        {
            string input = "200";

            Assert.AreEqual("Two Hundred", Numeronym.MakeNumeronym(input));
        }
Exemple #2
0
        public void MakeNumeronym_returnTwoHundredTwelve_string()
        {
            string input = "212";

            Assert.AreEqual("Two HundredTwelve", Numeronym.MakeNumeronym(input));
        }
Exemple #3
0
        public void MakeNumeronym_returnDeca_string()
        {
            string input = "41";

            Assert.AreEqual("Forty One", Numeronym.MakeNumeronym(input));
        }
Exemple #4
0
 public void MakeNumeronym_returnTeen_string()
 {
     Assert.AreEqual("Fourteen", Numeronym.MakeNumeronym("14"));
 }
Exemple #5
0
        public void MakeNumeronym_returnTenThousand_string()
        {
            string input = "10000";

            Assert.AreEqual("Ten Thousand", Numeronym.MakeNumeronym(input));
        }
Exemple #6
0
        public void MakeNumeronym_returnTeen_string()
        {
            string input = "14";

            Assert.AreEqual("Fourteen", Numeronym.MakeNumeronym(input));
        }