public virtual void TestBigDecConvertEmpty() { TextSplitter splitter = new TextSplitter(); string emptyStr = splitter.BigDecimalToString(BigDecimal.Zero); NUnit.Framework.Assert.AreEqual(string.Empty, emptyStr); }
public virtual void TestConvertStr() { TextSplitter splitter = new TextSplitter(); string @out = splitter.BigDecimalToString(splitter.StringToBigDecimal("big str")); NUnit.Framework.Assert.AreEqual("big str", @out); }
public virtual void TestConvertChomped() { TextSplitter splitter = new TextSplitter(); string @out = splitter.BigDecimalToString(splitter.StringToBigDecimal("AVeryLongStringIndeed" )); NUnit.Framework.Assert.AreEqual("AVeryLon", @out); }