|
|
@ -9,6 +9,8 @@ import org.junit.Test; |
|
|
|
*/ |
|
|
|
public class GamelauncherMainTest |
|
|
|
{ |
|
|
|
|
|
|
|
GamelauncherMain glm = new GamelauncherMain(); |
|
|
|
/** |
|
|
|
* Rigorous Test :-) |
|
|
|
*/ |
|
|
@ -17,4 +19,15 @@ public class GamelauncherMainTest |
|
|
|
{ |
|
|
|
assertTrue( true ); |
|
|
|
} |
|
|
|
|
|
|
|
@Test |
|
|
|
public void hoeheVergleichen() |
|
|
|
{ |
|
|
|
|
|
|
|
int breite = 1270; |
|
|
|
int hoehe = 600; |
|
|
|
|
|
|
|
assertTrue(glm.getBreite() == breite); |
|
|
|
assertTrue(glm.getHoehe() == hoehe); |
|
|
|
} |
|
|
|
} |