public void fiftyfive() { int number = 55; var translator = new IntToWordConverter(); var result = translator.GetText(number); Assert.AreEqual("fifty-five", result); }
public void TwentySeven() { int number = 27; var translator = new IntToWordConverter(); var result = translator.GetText(number); Assert.AreEqual("twenty-seven", result); }
public void NinetyNine() { int number = 99; var translator = new IntToWordConverter(); var result = translator.GetText(number); Assert.AreEqual("ninety-nine", result); }
public void ThirtySix() { int number = 36; var translator = new IntToWordConverter(); var result = translator.GetText(number); Assert.AreEqual("thirty-six", result); }
public void Forty() { int number = 40; var translator = new IntToWordConverter(); var result = translator.GetText(number); Assert.AreEqual("forty", result); }
public void Two() { int number = 2; var translator = new IntToWordConverter(); var result = translator.GetText(number); Assert.AreEqual("two", result); }
public void One() { int one = 1; var translator = new IntToWordConverter(); var result = translator.GetText(one); Assert.AreEqual("one", result); }
public void OneHundredAndEightySeven() { int number = 187; var translator = new IntToWordConverter(); var result = translator.GetText(number); Assert.AreEqual("one hundred and eighty-seven", result); }
public void OneHundredAndFour() { int number = 104; var translator = new IntToWordConverter(); var result = translator.GetText(number); Assert.AreEqual("one hundred and four", result); }
public void thousand() { int number = 1000; var translator = new IntToWordConverter(); var result = translator.GetText(number); Assert.AreEqual("one thousand", result); }
public void SevenHundredNinetyNine() { int number = 799; var translator = new IntToWordConverter(); var result = translator.GetText(number); Assert.AreEqual("seven hundred and ninety-nine", result); }
public void fiveHundred() { int number = 500; var translator = new IntToWordConverter(); var result = translator.GetText(number); Assert.AreEqual("five hundred", result); }