test_matpower

test_matpower(verbose, exit_on_fail)

test_matpower() - Run all MATPOWER tests.

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

Runs all of the MATPOWER 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().