public void HakenAusTest() { // arrange Kran kran = new Kran(); Panel haken = new Panel(); haken.Size = new System.Drawing.Size(0, 0); // act kran.HakenAus(haken); // assert Assert.AreEqual(-10, haken.Size.Height); }
private void Haken_Aus(object sender, EventArgs e) { kran.HakenAus(haken); }