public void HakenEinTest() { // arrange Kran kran = new Kran(); Panel haken = new Panel(); haken.Size = new System.Drawing.Size(0, 0); // act kran.HakenEin(haken); // assert Assert.AreEqual(10, haken.Size.Height); }
public void Haken_Ein(object sender, EventArgs e) { kran.HakenEin(haken); }