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
 | 
			
		||||
        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
 | 
			
		||||
        void getCarId() {
 | 
			
		||||
| 
						 | 
				
			
			@ -65,7 +65,7 @@ class GameTest {
 | 
			
		|||
        }
 | 
			
		||||
 | 
			
		||||
        /**
 | 
			
		||||
         * Checks initial carposition
 | 
			
		||||
         * Checks initial car position
 | 
			
		||||
         */
 | 
			
		||||
        @Test
 | 
			
		||||
        void getCarPosition() {
 | 
			
		||||
| 
						 | 
				
			
			@ -74,7 +74,7 @@ class GameTest {
 | 
			
		|||
        }
 | 
			
		||||
 | 
			
		||||
        /**
 | 
			
		||||
         * Checks if initial carvelocity is 0,0
 | 
			
		||||
         * Checks if initial car velocity is 0,0
 | 
			
		||||
         */
 | 
			
		||||
        @Test
 | 
			
		||||
        void getCarVelocity() {
 | 
			
		||||
| 
						 | 
				
			
			@ -91,7 +91,7 @@ class GameTest {
 | 
			
		|||
        }
 | 
			
		||||
 | 
			
		||||
        /**
 | 
			
		||||
         * Checks correct inital state
 | 
			
		||||
         * Checks correct initial state
 | 
			
		||||
         */
 | 
			
		||||
        @Test
 | 
			
		||||
        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.
 | 
			
		||||
     * 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
 | 
			
		||||
    @DisplayName("Playtrough")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue