Merge remote-tracking branch 'comp1110/master'

This commit is contained in:
Nathan Woodburn 2023-03-27 12:01:28 +11:00
commit e2bf5331df
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1
6 changed files with 6 additions and 6 deletions

View File

@ -9,7 +9,7 @@ import org.junit.jupiter.api.Timeout;
import java.util.List;
import java.util.concurrent.TimeUnit;
@Timeout(value = 2000, unit = TimeUnit.MILLISECONDS)
@Timeout(value = 2500, unit = TimeUnit.MILLISECONDS)
public class ApplyMoveTest implements TestMapNamePlayerCount {
private final GameDataLoader gameDataLoader = new GameDataLoader();
private static void testGame(List<String> game){

View File

@ -11,7 +11,7 @@ import java.util.Arrays;
import java.util.List;
import java.util.concurrent.TimeUnit;
@Timeout(value = 2000, unit = TimeUnit.MILLISECONDS)
@Timeout(value = 2200, unit = TimeUnit.MILLISECONDS)
public class CalculateIslandLinksScoreTest implements TestMapNamePlayerCount {
private final GameDataLoader gameDataLoader = new GameDataLoader();
private final IslandLinksScoreDataLoader islandLinksScoreDataLoader = new IslandLinksScoreDataLoader();

View File

@ -11,7 +11,7 @@ import java.util.Arrays;
import java.util.List;
import java.util.concurrent.TimeUnit;
@Timeout(value = 2000, unit = TimeUnit.MILLISECONDS)
@Timeout(value = 3000, unit = TimeUnit.MILLISECONDS)
public class CalculateScoresTest implements TestMapNamePlayerCount {
private final GameDataLoader gameDataLoader = new GameDataLoader();
private final ScoreDataLoader scoreDataLoader = new ScoreDataLoader();

View File

@ -11,7 +11,7 @@ import java.util.List;
import java.util.Set;
import java.util.concurrent.TimeUnit;
@Timeout(value = 3000, unit = TimeUnit.MILLISECONDS)
@Timeout(value = 30000, unit = TimeUnit.MILLISECONDS)
public class GenerateAIMoveTest implements TestMapNamePlayerCount {
private final GameDataLoader gameDataLoader = new GameDataLoader();
private final AllValidMovesDataLoader loader = new AllValidMovesDataLoader();

View File

@ -8,7 +8,7 @@ import org.junit.jupiter.api.Timeout;
import java.util.List;
import java.util.concurrent.TimeUnit;
@Timeout(value = 1000, unit = TimeUnit.MILLISECONDS)
@Timeout(value = 1300, unit = TimeUnit.MILLISECONDS)
public class IsMoveStringWellFormedTest {
private final GameDataLoader gameDataLoader = new GameDataLoader();
private final List<List<String>> allGames = gameDataLoader.fetchAllGames();

View File

@ -8,7 +8,7 @@ import org.junit.jupiter.api.Timeout;
import java.util.List;
import java.util.concurrent.TimeUnit;
@Timeout(value = 1000, unit = TimeUnit.MILLISECONDS)
@Timeout(value = 2000, unit = TimeUnit.MILLISECONDS)
public class IsStateStringWellFormedTest {
private final GameDataLoader gameDataLoader = new GameDataLoader();
private final List<List<String>> allGames = gameDataLoader.fetchAllGames();