diff options
Diffstat (limited to 'testing/random_testing.cc')
-rw-r--r-- | testing/random_testing.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/testing/random_testing.cc b/testing/random_testing.cc index f4175675..bcdb8e70 100644 --- a/testing/random_testing.cc +++ b/testing/random_testing.cc | |||
@@ -11,7 +11,7 @@ | |||
11 | #include <vector> | 11 | #include <vector> |
12 | 12 | ||
13 | #include "../toxcore/tox.h" | 13 | #include "../toxcore/tox.h" |
14 | #include "misc_tools.c" | 14 | #include "misc_tools.h" |
15 | 15 | ||
16 | namespace { | 16 | namespace { |
17 | 17 | ||
@@ -32,8 +32,6 @@ constexpr uint32_t MAX_ACTIONS = 10000; | |||
32 | constexpr uint32_t MAX_ACTION_ATTEMPTS = 100; | 32 | constexpr uint32_t MAX_ACTION_ATTEMPTS = 100; |
33 | // Number of tox_iterate calls between each action. | 33 | // Number of tox_iterate calls between each action. |
34 | constexpr uint32_t ITERATIONS_PER_ACTION = 1; | 34 | constexpr uint32_t ITERATIONS_PER_ACTION = 1; |
35 | // Amount of time in milliseconds to wait between tox_iterate calls. | ||
36 | constexpr uint32_t ITERATION_INTERVAL = 5; | ||
37 | 35 | ||
38 | struct Tox_Options_Deleter { | 36 | struct Tox_Options_Deleter { |
39 | void operator()(Tox_Options *options) const { tox_options_free(options); } | 37 | void operator()(Tox_Options *options) const { tox_options_free(options); } |