Skip to content

Commit

Permalink
Apply literal uci
Browse files Browse the repository at this point in the history
  • Loading branch information
lenguyenthanh committed Oct 28, 2024
1 parent 634af22 commit a0cdf79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test-kit/src/test/scala/ReplayTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import chess.format.pgn.{ Fixtures, SanStr }
import chess.variant.Chess960

import format.{ FullFen, Fen, Uci }
import macros.uci

class ReplayTest extends ChessTest:

Expand All @@ -27,7 +28,7 @@ class ReplayTest extends ChessTest:
test("bongcloud attack"):
Replay
.situationsFromUci(
moves = List(Uci("e2e4"), Uci("e7e5"), Uci("e1e2")).flatten,
moves = List(uci"e2e4", uci"e7e5", uci"e1e2"),
initialFen = None,
variant = variant.Standard
)
Expand Down

0 comments on commit a0cdf79

Please sign in to comment.