Example #1
0
        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);
        }
Example #2
0
 private void Haken_Aus(object sender, EventArgs e)
 {
     kran.HakenAus(haken);
 }