Home > matpower6.0 > extras > maxloadlim > tests > test_main.m

test_main

PURPOSE ^

TESTS_MAIN

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

TESTS_MAIN

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 %TESTS_MAIN
0002 
0003 %   MATPOWER
0004 %   Copyright (c) 2015-2016, Power Systems Engineering Research Center (PSERC)
0005 %   by Camille Hamon
0006 %
0007 %   This file is part of MATPOWER.
0008 %   Covered by the 3-clause BSD License (see LICENSE file for details).
0009 %   See http://www.pserc.cornell.edu/matpower/ for more info.
0010 
0011 addpath('../');
0012 % Run specific tests as well?
0013 run_specific = 0;
0014 %% All tests
0015 testcase = matlab.unittest.TestSuite.fromClass(?Test_maxloadlim);
0016 res = run(testcase);
0017 
0018 if run_specific
0019     %% Specific tests only
0020     testcase = matlab.unittest.TestSuite.fromMethod(?Test_maxloadlim,'testVarGen_case39');%'testAgainstCPF_case39');%'testAgainstMatpowerCPF_case39');
0021     res_2 = run(testcase);
0022     %%
0023 end

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