Home > matpower6.0 > most > t > test_most.m

test_most

PURPOSE ^

TEST_MOST Run all MOST tests.

SYNOPSIS ^

function test_most(verbose)

DESCRIPTION ^

TEST_MOST  Run all MOST tests.
   TEST_MOST runs all of the MOST tests.
   TEST_MOST(VERBOSE) prints the details of the individual tests
   if VERBOSE is true.

   See also T_RUN_TESTS.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function test_most(verbose)
0002 %TEST_MOST  Run all MOST tests.
0003 %   TEST_MOST runs all of the MOST tests.
0004 %   TEST_MOST(VERBOSE) prints the details of the individual tests
0005 %   if VERBOSE is true.
0006 %
0007 %   See also T_RUN_TESTS.
0008 
0009 %   MOST
0010 %   Copyright (c) 2004-2016, Power Systems Engineering Research Center (PSERC)
0011 %   by Ray Zimmerman, PSERC Cornell
0012 %
0013 %   This file is part of MOST.
0014 %   Covered by the 3-clause BSD License (see LICENSE file for details).
0015 %   See http://www.pserc.cornell.edu/matpower/ for more info.
0016 
0017 if nargin < 1
0018     verbose = 0;
0019 end
0020 
0021 tests = {};
0022 
0023 %% MATPOWER base test
0024 have_c3sopf = exist('c3sopf', 'file') == 2;
0025 tests{end+1} = 't_most_3b_1_1_0';
0026 tests{end+1} = 't_most_3b_3_1_0';
0027 if have_c3sopf
0028     tests{end+1} = 't_most_3b_1_1_2';
0029     tests{end+1} = 't_most_3b_3_1_2';
0030 end
0031 tests{end+1} = 't_most_30b_1_1_0';
0032 tests{end+1} = 't_most_30b_3_1_0';
0033 if have_c3sopf
0034     tests{end+1} = 't_most_30b_1_1_17';
0035     tests{end+1} = 't_most_30b_3_1_17';
0036 end
0037 tests{end+1} = 't_most_fixed_res';
0038 tests{end+1} = 't_most_w_ds';
0039 tests{end+1} = 't_most_30b_1_1_0_uc';
0040 if have_c3sopf
0041     tests{end+1} = 't_most_sp';
0042     tests{end+1} = 't_most_spuc';
0043 end
0044 tests{end+1} = 't_most_uc';
0045 tests{end+1} = 't_most_suc';
0046 
0047 t_run_tests( tests, verbose );

Generated on Fri 16-Dec-2016 12:45:37 by m2html © 2005