/** * \brief Execute the unit tests of the HexGrid */ void execute_hex_grid_unit_tests() { test_neighbors(2); test_neighbors(3); test_neighbors(6); test_neighbors(11); test_load_save(); debug("--> HexGrid Tests passed !\n"); }
/** * Main function */ int main(int argc, char **argv) { int err = FALSE; /* Create config */ config_init(&cfg); config_check(&cfg); err |= test_static(); err |= test_stress(); err |= test_stress_omp(); err |= test_load_save(); config_destroy(&cfg); return err; }