View lcov test coverage results on http://www.gnu.org/software/liquidwar6/coverage/src/lib/sim/index.html.
results: data to print
f: file to print data to
Pretty prints results on standard output.
Return value: none.
results: out param, will be cleared
Fills the struct with zeroes.
Return value: none.
results: results set to work on (in/out param)
Updates the structure so that the percent members are up to date.
Return value: 1 on success, 0 on failure.
argc: argc as passed to
main
argv: argv as passed to
main
results: out param, results of the simulation
nb_teams: number of teams
bot_backend: bot backend to use
Runs a simulation of several battle/games on the default map using different team settings. Will test teams up to the given number, for instance if you give 3 as an argument, will run tests with teams 0, 1 and 2 (that's to say a total of 3 teams).
Return value: 1 on success, 0 on failure.
argc: argc as passed to
main
argv: argv as passed to
main
results: out param, results of the simulation
Runs a simulation of several battle/games on the default map using different team settings. Will test the most common colors only, with the most popular bot.
Return value: 1 on success, 0 on failure.
argc: argc as passed to
main
argv: argv as passed to
main
results: out param, results of the simulation
Runs a simulation of several battle/games on the default map using different team settings. Will test all colors, with the most popular bot.
Return value: 1 on success, 0 on failure.