| 153 | #endif |
| 154 | |
| 155 | int main() |
| 156 | { |
| 157 | for(int copySizeI = MIN_COPY; copySizeI < MAX_COPY; copySizeI <<= 1) |
| 158 | for(int copySizeJ = 1; copySizeJ <= copySizeI; copySizeJ <<= 1) |
| 159 | { |
| 160 | testCases.push_back(copySizeI | copySizeJ); |
| 161 | } |
| 162 | |
| 163 | std::sort(testCases.begin(), testCases.end()); |
| 164 | #if defined(__EMSCRIPTEN__) && !defined(BUILD_FOR_SHELL) |
| 165 | emscripten_set_main_loop(main_loop, 0, 0); |
| 166 | #else |
| 167 | while(!testCases.empty()) run_one(); |
| 168 | print_results(); |
| 169 | #endif |
| 170 | } |