예제 #1
0
 public void GetFirstCharIndexOfCurrentLineTest()
 {
     using (MaskedTextBox mtb = new MaskedTextBox()) {
         Assert.AreEqual(0, mtb.GetFirstCharIndexOfCurrentLine(), "#A1");
         mtb.Text = "alñsdh gaph" + Environment.NewLine + "asldg";
         Assert.AreEqual(0, mtb.GetFirstCharIndexOfCurrentLine(), "#B1");
     }
 }