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