Failed
de.fhdw.gaming.ipspiel24.tictactoe.strategy.minimax.TicTacToeMinimaxStrategyTest.testComputeNextMoveForcedWin
Failing for the past 3 builds
(Since Unstable )
Error Message
expected: <X O X O X O X _ _ > but was: <X O X _ X O O _ X >
Stacktrace
org.opentest4j.AssertionFailedError: expected: <X O X O X O X _ _ > but was: <X O X _ X O O _ X > at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151) at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197) at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182) at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177) at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1145) at de.fhdw.gaming.ipspiel24.tictactoe.strategy.minimax@1.0.0-SNAPSHOT/de.fhdw.gaming.ipspiel24.tictactoe.strategy.minimax.TicTacToeMinimaxStrategyTest.testComputeNextMoveForcedWin(TicTacToeMinimaxStrategyTest.java:251) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Standard Output
OpponentTicTacToePlayer[name=O, type=O, state=PLAYING, outcome=Optional.empty] currentPLayer: TicTacToePlayer[name=X, type=X, state=PLAYING, outcome=Optional.empty] OpponentTicTacToePlayer[name=X, type=X, state=PLAYING, outcome=Optional.empty] currentPLayer: TicTacToePlayer[name=O, type=O, state=PLAYING, outcome=Optional.empty] OpponentTicTacToePlayer[name=O, type=O, state=PLAYING, outcome=Optional.empty] currentPLayer: TicTacToePlayer[name=X, type=X, state=PLAYING, outcome=Optional.empty]