Skip to content

Commit

Permalink
Fix abtest build
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Piolat committed Feb 4, 2025
1 parent 5b8e420 commit 29516f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/abtest/source/main.d
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,8 @@ int main(string[] args)

// Display scores
cwritefln("*** TOTAL RESULTS".white);
cwritefln(" => %s got %s votes", inputFileA.lcyan, to!string(scoreA).yellow);
cwritefln(" => %s got %s votes", inputFileB.lcyan, to!string(scoreB).yellow);
cwritefln(" => %s got %s votes", inputFileA.lcyan, to!string(scoreA).yellow);
cwritefln(" => %s got %s votes", inputFileB.lcyan, to!string(scoreB).yellow);
cwriteln;
cwritefln("*** DETAILS".white);

Expand All @@ -338,7 +338,7 @@ int main(string[] args)
if (choiceQuestion[question] == 1.0f) result = inputFileB.lcyan;
if (choiceQuestion[question] == 0.5f) result = "draw".yellow;
if (isNaN(choiceQuestion[question])) result = "skipped".lred;
cwritefln(" %60s => %s", questions[question], result);
cwritefln(" %60s => %s", questions[question], result);
}
cwriteln;

Expand Down

0 comments on commit 29516f2

Please # to comment.