|
|
@ -57,20 +57,30 @@ public class MouseGameTest { |
|
|
|
} |
|
|
|
|
|
|
|
@Test |
|
|
|
public void boundsBreitePruefen() throws AWTException { |
|
|
|
public void boundsBreiteFramePruefen() throws AWTException { |
|
|
|
//Given |
|
|
|
MouseGame mg = new MouseGame(); |
|
|
|
|
|
|
|
//Then |
|
|
|
assertTrue(mg.getBreite()==900); |
|
|
|
assertTrue(mg.getBreiteFrame()==900); |
|
|
|
} |
|
|
|
|
|
|
|
@Test |
|
|
|
public void boundsHoehePruefen() throws AWTException { |
|
|
|
public void boundsHoeheFramePruefen() throws AWTException { |
|
|
|
//Given |
|
|
|
MouseGame mg = new MouseGame(); |
|
|
|
|
|
|
|
//Then |
|
|
|
assertTrue(mg.getHoehe()==650); |
|
|
|
assertTrue(mg.getHoeheFrame()==650); |
|
|
|
} |
|
|
|
|
|
|
|
@Test |
|
|
|
public void boundsBreitePanelPruefen() throws AWTException { |
|
|
|
//Given |
|
|
|
MouseGame mg = new MouseGame(); |
|
|
|
|
|
|
|
//Then |
|
|
|
assertTrue(mg.getBreitePanel()==696); |
|
|
|
} |
|
|
|
|
|
|
|
} |