|
@ -56,6 +56,15 @@ public class MouseGameTest { |
|
|
assertTrue(mg.getResetY()==170); |
|
|
assertTrue(mg.getResetY()==170); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|
|
public void boundsBreitePruefen() throws AWTException { |
|
|
|
|
|
//Given |
|
|
|
|
|
MouseGame mg = new MouseGame(); |
|
|
|
|
|
|
|
|
|
|
|
//Then |
|
|
|
|
|
assertTrue(mg.getBreite()==900); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
@Test |
|
|
@Test |
|
|
public void boundsHoehePruefen() throws AWTException { |
|
|
public void boundsHoehePruefen() throws AWTException { |
|
|
//Given |
|
|
//Given |
|
|