int main(int argc, char** argv) { // default arguments autopilot_parms.ideal(); if (!parse_args(argc, argv)) return 0; unsigned i = rand() % NUM_WIND; plan_tests(6); // tests whether cruise efficiency is calculated correctly test_cruise_efficiency(3, i); return exit_status(); }
int main(int argc, char** argv) { // default arguments autopilot_parms.bearing_noise=fixed(0); autopilot_parms.target_noise=fixed(0.1); output_skip = 5; if (!parse_args(argc,argv)) { return 0; } unsigned i = rand()%NUM_WIND; plan_tests(6); // tests whether cruise efficiency is calculated correctly test_cruise_efficiency(3,i); return exit_status(); }
int main(int argc, char** argv) { // default arguments bearing_noise=0; target_noise=0.1; output_skip = 5; if (!parse_args(argc,argv)) { return 0; } plan_tests(6*NUM_WIND); // tests whether cruise efficiency is calculated correctly for (int i=0; i<NUM_WIND; i++) { test_cruise_efficiency(3,i); } return exit_status(); }