MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / main

Function main

tests/test_voxel.cpp:218–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218int main(int argc, char **argv)
219{
220 if (config().parseOptions(argc, argv))
221 {
222 return EXIT_FAILURE;
223 }
224 const std::vector<Vec3<int>> voxel_sizes = {
225 {1, 1, 1},
226 {32, 32, 16},
227 {33, 32, 16},
228 {77, 75, 2222},
229 };
230 for (auto &size : voxel_sizes)
231 {
232 LogInfo("Testing voxel size %s", size);
233 test_voxel(size);
234 }
235}

Callers

nothing calls this directly

Calls 2

test_voxelFunction · 0.85
parseOptionsMethod · 0.45

Tested by

no test coverage detected