public void Project_bugs_linecounter() { Bugs form = new Bugs(2); int actual; int expected; form.richTextBox1.Text = "Test" + "\n" + "\n"; form.linecount(); actual = form.linecounter1; expected = 3; Assert.AreEqual(expected, actual); }
public void Project_bugs_linecounter() { Bugs form = new Bugs(2); int actual; int expected; form.richTextBox1.Text = "Test" + "\n" + "\n"; form.linecount(); actual = form.linecounter1; expected = 3; Assert.AreEqual(expected, actual); }