Skip to content

Commit

Permalink
Fix test rule50
Browse files Browse the repository at this point in the history
  • Loading branch information
DOBRO committed Mar 21, 2022
1 parent 1eebd64 commit 474134e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/play_game_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ groups() ->
set_game_state,
get_pieces_list,
index_moves,
set_game_winner
set_game_winner,
rule50
]}].

%% init_per_suite/1
Expand Down Expand Up @@ -157,7 +158,7 @@ stalemate_black(Config) ->
rule50(Config) ->
Pid = get_pid(Config),
{ok, continue} = binbo:new_game(Pid, <<"6R1/7k/8/8/1r3B2/5K2/8/8 w - - 99 119">>),
{ok, {draw,rule50}} = binbo:move(Pid, <<"Ra4">>),
{ok, {draw,rule50}} = binbo:move(Pid, <<"g8a8">>),
{ok, {draw,rule50}} = binbo:game_status(Pid),
ok.

Expand Down

0 comments on commit 474134e

Please sign in to comment.