TESTS_MAIN
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/mx-maxloadlim. 0008 % Covered by the 3-clause BSD License (see LICENSE file for details). 0009 % See https://github.com/MATPOWER/mx-maxloadlim/ 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