Esempio n. 1
0
 public void StrWidthTest()
 {
     Assert.AreEqual(0, GeneralLib.StrWidth(null));
     Assert.AreEqual(0, GeneralLib.StrWidth(""));
     Assert.AreEqual(3, GeneralLib.StrWidth("123"));
     Assert.AreEqual(4, GeneralLib.StrWidth("123"));
     Assert.AreEqual(6, GeneralLib.StrWidth("123"));
 }