fix typo
This commit is contained in:
parent
7bd910059c
commit
d7f7d3eb6d
1 changed files with 2 additions and 2 deletions
4
main.cpp
4
main.cpp
|
@ -57,7 +57,7 @@ void test() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void check_games(unsigned num_players, unsigned max_draw_pile_size, unsigned first_game = 4, unsigned last_game = 9999) {
|
void check_games(unsigned num_players, unsigned max_draw_pile_size, unsigned first_game = 0, unsigned last_game = 9999) {
|
||||||
|
|
||||||
std::vector<std::vector<double>> winning_percentages(last_game + 2);
|
std::vector<std::vector<double>> winning_percentages(last_game + 2);
|
||||||
|
|
||||||
|
@ -109,7 +109,7 @@ int main(int argc, char *argv[]) {
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
test();
|
test();
|
||||||
#endif
|
#endif
|
||||||
check_games(3, 10);
|
check_games(4, 9);
|
||||||
if(argc == 3) {
|
if(argc == 3) {
|
||||||
std::string game (argv[1]);
|
std::string game (argv[1]);
|
||||||
std::string turn (argv[2]);
|
std::string turn (argv[2]);
|
||||||
|
|
Loading…
Reference in a new issue