public void Onehundred19Thousand223Test() { DecimalToStringController controller = new DecimalToStringController(); string value = controller.Get("119223"); Assert.AreEqual("one hundred nineteen thousand two hundred twenty-three", value); }
public void OneThousandTest() { DecimalToStringController controller = new DecimalToStringController(); string value = controller.Get("1000"); Assert.AreEqual("one thousand", value); }
public void OneThousand888Test() { DecimalToStringController controller = new DecimalToStringController(); string value = controller.Get("1888"); Assert.AreEqual("one thousand eight hundred eighty-eight", value); }
public void oneandoneTest() { DecimalToStringController controller = new DecimalToStringController(); string value = controller.HundredsString(101M); Assert.AreEqual("one hundred one", value.Trim()); }
public void FiftyFiveTest() { DecimalToStringController controller = new DecimalToStringController(); string value = controller.HundredsString(55M); Assert.AreEqual("fifty-five", value.Trim()); }
public void TooSmallTest() { DecimalToStringController controller = new DecimalToStringController(); string value = controller.HundredsString(-1M); Assert.AreEqual(string.Empty, value); }
public void nineninenineTest() { DecimalToStringController controller = new DecimalToStringController(); string value = controller.HundredsString(999M); Assert.AreEqual("nine hundred ninety-nine", value.Trim()); }
public void ZeroTest() { DecimalToStringController controller = new DecimalToStringController(); string value = controller.Get("0"); Assert.AreEqual("zero", value); }
public void eightteentrillionTest() { DecimalToStringController controller = new DecimalToStringController(); string value = controller.Get("18000000000000"); Assert.AreEqual("eighteen trillion", value); }
public void thirteenbillion232Test() { DecimalToStringController controller = new DecimalToStringController(); string value = controller.Get("13232000000"); Assert.AreEqual("thirteen billion two hundred thirty-two million", value); }
public void fourteenbillionTest() { DecimalToStringController controller = new DecimalToStringController(); string value = controller.Get("14000000000"); Assert.AreEqual("fourteen billion", value); }
public void TwelveMillionTest() { DecimalToStringController controller = new DecimalToStringController(); string value = controller.Get("12000000"); Assert.AreEqual("twelve million", value); }