Skip to content

Failed

de.fhdw.gaming.ipspiel24.tictactoe.strategy.minimax.TicTacToeMinimaxStrategyTest.testComputeNextMoveWin

Failing for the past 4 builds (Since Unstable#89 )
Took 14 ms.

Error Message

expected: <true> but was: <false>

Stacktrace

org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	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.AssertTrue.failNotTrue(AssertTrue.java:63)
	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:31)
	at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:183)
	at de.fhdw.gaming.ipspiel24.tictactoe.strategy.minimax@1.0.0-SNAPSHOT/de.fhdw.gaming.ipspiel24.tictactoe.strategy.minimax.TicTacToeMinimaxStrategyTest.testComputeNextMoveWin(TicTacToeMinimaxStrategyTest.java:76)
	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]