public void ShouldGetHundredThousand() { var t = new ThousandPlace(300000); Assert.AreEqual(t.ToWord(), "Three Hundred Thousand"); var t1 = new ThousandPlace(333000); Assert.AreEqual(t1.ToWord(), "Three Hundred and Thirty Three Thousand"); }
public void ShouldGetTenThousand() { var t = new ThousandPlace(30000); Assert.AreEqual(t.ToWord(), "Thirty Thousand"); var t1 = new ThousandPlace(31000); Assert.AreEqual(t1.ToWord(), "Thirty One Thousand"); var t2 = new ThousandPlace(99900); Assert.AreEqual(t2.ToWord(), "Ninety Nine Thousand"); }
public void ShouldGetThousand() { var t = new ThousandPlace(3000); Assert.AreEqual(t.ToWord(), "Three Thousand"); }