public void ToStringMethodTest () { ProgressBar myProgressBar = new ProgressBar (); myProgressBar.Text = "New ProgressBar"; Assert.AreEqual ("System.Windows.Forms.ProgressBar, Minimum: 0, Maximum: 100, Value: 0", myProgressBar.ToString (), "#T3"); }
public void ToStringMethodTest () { ProgressBar myProgressBar = new ProgressBar (); myProgressBar.Text = "New ProgressBar"; Assert.AreEqual ("System.Windows.Forms.ProgressBar, Minimum: 0, Maximum: 100, Value: 0", myProgressBar.ToString (), "#T3"); }