small adjustment in javadoc GameTest, MoveListStrategyTest, TrackTest

Author added in all of them
This commit is contained in:
Leonardo Brandenberger 2022-03-25 23:54:10 +01:00
parent 31c76273c9
commit e68ab597d5
3 changed files with 12 additions and 0 deletions

View File

@ -12,6 +12,8 @@ import static ch.zhaw.pm2.racetrack.PositionVector.Direction.*;
/**
* Test for Class Game. The Class is split up in nested classes.
*
* @author Andrin Fassbind
*/
class GameTest {
private UserInterface userInterface;

View File

@ -9,6 +9,8 @@ import java.io.FileNotFoundException;
/**
* This Class tests the MoveStrategy.
*
* @author Andrin Fassbind
*/
public class MoveListStrategyTest {

View File

@ -9,6 +9,8 @@ import java.util.List;
/**
* This Class tests the track
*
* @author Andrin Fassbind
*/
public class TrackTest {
Track trackObj;
@ -17,6 +19,9 @@ public class TrackTest {
@DisplayName("Positive Test Cases")
class positiveClass {
/**
* Sets up the Test cases by loading the file and setting a new track.
*/
@BeforeEach
void setup() {
File file = new File(".\\tracks\\challenge.txt");
@ -162,6 +167,9 @@ public class TrackTest {
class negativeClass {
File file;
/**
* Sets up the negative Test cases by loading the file and setting a new track.
*/
@BeforeEach
void setup() {
file = new File(".\\tracks\\challenge.txt");