Browse Source

[TikTakToeGameTest Class]: JUnitTest

remotes/origin/TikTakToeGame
fdai7431 2 years ago
parent
commit
070c06fd01
  1. 13
      JavaGamelauncher/src/test/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMainTest.java

13
JavaGamelauncher/src/test/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMainTest.java

@ -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);
}
} }
Loading…
Cancel
Save