Beispiel #1
0
        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);
        }
Beispiel #2
0
 public void Haken_Ein(object sender, EventArgs e)
 {
     kran.HakenEin(haken);
 }