Skip to content

Commit

Permalink
Fix AlphaBetaTest
Browse files Browse the repository at this point in the history
  • Loading branch information
Zomis committed Aug 21, 2019
1 parent 6a6809a commit 7d58122
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -13,10 +13,10 @@ class AlphaBetaTest {
@Test
fun test() {
val map = loadMap("XXXO|OOXX|XXOO|XXOO / XOOX|OXO |XOXO|XXXO / | X | | / OXOX | XOOO | OOXO | OXOX");
val io = TTT3DIO(map)
io.print()
io.printScores(io.factory)
val move = io.alphaBeta()
val io = TTT3DIO()
io.print(map)
io.printScores(map, io.factory)
val move = io.alphaBeta(map, 6)
assertNotEquals(0, move.x)
}
/*
Expand Down

0 comments on commit 7d58122

Please sign in to comment.