test_mp_opt_model

test_mp_opt_model(verbose, exit_on_fail)

test_mp_opt_model() - Run all MP-Opt-Model tests.

test_mp_opt_model
test_mp_opt_model(verbose)
test_mp_opt_model(verbose, exit_on_fail)
success = test_mp_opt_model(...)

Runs all of the MP-Opt-Model tests. If verbose is true (false by default), it prints the details of the individual tests. If exit_on_fail is true (false by default), it will exit MATLAB or Octave with a status of 1 unless t_run_tests() returns all_ok true.

See also t_run_tests().