From 3fde9f5a6488f2580d38cc195ee5dd53af75cfe1 Mon Sep 17 00:00:00 2001 From: michiel Date: Thu, 18 Sep 2025 12:46:16 +0200 Subject: [PATCH] new unit tests + a small improvement to the ai where it didnt instantly block during unit tests --- .idea/misc.xml | 2 +- .idea/workspace.xml | 79 +++++----- .../toop/game/tictactoe/MinMaxTicTacToe.java | 41 ++++-- src/test/java/MinMaxTicTacToeTest.java | 135 +++++++++++------- 4 files changed, 164 insertions(+), 93 deletions(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index 1c92083..1572df4 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -8,7 +8,7 @@ - + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 2d7ff3e..1b770d6 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,10 +4,11 @@ - - + + + - { - "selectedUrlAndAccountId": { - "url": "git@github.com:2OOP/pism_ttt.git", - "accountId": "7694f583-f911-4763-8185-8ea3ed608804" + +}]]> @@ -56,27 +57,28 @@ - { - "keyToString": { - "Application.Main.executor": "Run", - "JUnit.MinMaxTicTacToeTest.executor": "Run", - "ModuleVcsDetector.initialDetectionPerformed": "true", - "RunOnceActivity.ShowReadmeOnStart": "true", - "RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager": "true", - "RunOnceActivity.git.unshallow": "true", - "git-widget-placeholder": "Michiel", - "node.js.detected.package.eslint": "true", - "node.js.detected.package.tslint": "true", - "node.js.selected.package.eslint": "(autodetect)", - "node.js.selected.package.tslint": "(autodetect)", - "nodejs_package_manager_path": "npm", - "project.structure.last.edited": "Modules", - "project.structure.proportion": "0.0", - "project.structure.side.proportion": "0.0", - "settings.editor.selected.configurable": "reference.settings.project.statistic.project.settings", - "vue.rearranger.settings.migration": "true" + +}]]> - - - - - - @@ -114,6 +108,21 @@ + + + + + +