javadoc
This commit is contained in:
parent
ee6b348611
commit
01391075bd
|
@ -46,7 +46,7 @@ class GameTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests if Carindex is correct
|
* Tests if car index is correct
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
void getCurrentCarIndex() {
|
void getCurrentCarIndex() {
|
||||||
|
@ -56,7 +56,7 @@ class GameTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks if CarId matches char given in trackfile
|
* Checks if CarId matches char given in track file
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
void getCarId() {
|
void getCarId() {
|
||||||
|
@ -65,7 +65,7 @@ class GameTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks initial carposition
|
* Checks initial car position
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
void getCarPosition() {
|
void getCarPosition() {
|
||||||
|
@ -74,7 +74,7 @@ class GameTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks if initial carvelocity is 0,0
|
* Checks if initial car velocity is 0,0
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
void getCarVelocity() {
|
void getCarVelocity() {
|
||||||
|
@ -91,7 +91,7 @@ class GameTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks correct inital state
|
* Checks correct initial state
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
void onlyOneCarLeft() {
|
void onlyOneCarLeft() {
|
||||||
|
@ -148,7 +148,7 @@ class GameTest {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This nested Class tests a play trough and implements a userInterface which pretends to be a real player.
|
* This nested Class tests a play trough and implements a userInterface which pretends to be a real player.
|
||||||
* At the end of every Test the Userinterface stays open for 10 more sec to visualize the game.
|
* At the end of every Test the userinterface stays open for 10 more sec to visualize the game.
|
||||||
*/
|
*/
|
||||||
@Nested
|
@Nested
|
||||||
@DisplayName("Playtrough")
|
@DisplayName("Playtrough")
|
||||||
|
|
Loading…
Reference in New Issue