public void GetSuffix_ONE_HUNDRED_Success() { TranslaterManager ts = new TranslaterManager(123); string expect = "ONE_HUNDRED"; string actual = ts.GetSuffix(); Assert.AreEqual(expect, actual); }
public void GetSuffix_ONE_QUADRILLION_Success() { TranslaterManager ts = new TranslaterManager(123456789000123456); string expect = "ONE_QUADRILLION"; string actual = ts.GetSuffix(); Assert.AreEqual(expect, actual); }
public void Process_Hundred_Success() { var np = new NumberProcessor(Hundred_TestNumber); long div = np.GetDivider(); var first = np.GetFirstPart(div); var last = np.GetLastPart(first, div); var translateFirst = new TranslaterManager(first); translateFirst.GetWords(); }