Skip to content

Commit

Permalink
Fix battle test estimateCost bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mrgriffin committed Oct 22, 2023
1 parent 8ab2fbd commit 75a920c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_runner_battle.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ static u32 BattleTest_EstimateCost(void *data)
{
u32 cost;
const struct BattleTest *test = data;
memset(STATE, 0, sizeof(*STATE));
STATE->runRandomly = TRUE;
InvokeTestFunction(test);
cost = 1;
Expand Down

0 comments on commit 75a920c

Please sign in to comment.