MATLAB Examples

Example 13

Tested functions. Abusing globals to keep track of test cases.

function Example13()
global test_suite

test_suite = junit.TestSuite(sprintf('%s Test Suite', mfilename));
% Create a test suite based on the filename.
% Number of test cases to create.
n_test_cases = 100;
% Random integer: [0, 100].
random_integers = randi([0, 100], 1, n_test_cases);
fcn1(random_integers);
% Write the TestCase as an xml file with .m filename.
test_suite.xmlwrite(mfilename);
type([mfilename '.xml']);
end

function fcn1(random_integers)
for idx = 1:numel(random_integers)
    random_integer = random_integers(idx);
    fcn2(random_integer, idx);
end
end

function fcn2(random_integer, idx)
global test_suite
% Create a test case.
test_case = junit.TestCase(sprintf('Test Case #%d', idx));
try
    assert(random_integer>25)
    test_case.stdout=sprintf('Test Success! %d', random_integer);
catch Error
    % Test was skipped.
    test_case.error(Error);
end
test_suite.append(test_case);
end
<?xml version="1.0" encoding="utf-8"?>
<testsuites errors="21" failures="0" skipped="21" tests="100" time="0.00">
   <testsuite errors="21" failures="0" hostname="USGALWHP6047580" id="0" name="Example13 Test Suite" package="matlab" skipped="21" tests="100" timestamp="2017-08-11 17:49:49">
      <testcase name="Test Case #1" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 89</system-out>
      </testcase>
      <testcase name="Test Case #2" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 45</system-out>
      </testcase>
      <testcase name="Test Case #3" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 50</system-out>
      </testcase>
      <testcase name="Test Case #4" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 37</system-out>
      </testcase>
      <testcase name="Test Case #5" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 38</system-out>
      </testcase>
      <testcase name="Test Case #6" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 46</system-out>
      </testcase>
      <testcase name="Test Case #7" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 72</system-out>
      </testcase>
      <testcase name="Test Case #8" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 73</system-out>
      </testcase>
      <testcase name="Test Case #9" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 33</system-out>
      </testcase>
      <testcase name="Test Case #10" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 46</system-out>
      </testcase>
      <testcase name="Test Case #11" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 38</system-out>
      </testcase>
      <testcase name="Test Case #12" time="0" timestamp="2017-08-11 17:49:48">
         <error message="Assertion failed." type="error">Error using Example13&gt;fcn2 (line 32)
Assertion failed.

Error in Example13&gt;fcn1 (line 23)
    fcn2(random_integer, idx);

Error in Example13 (line 14)
fcn1(random_integers);

Error in evalmxdom&gt;instrumentAndRun (line 109)
text = evalc(evalstr);

Error in evalmxdom (line 21)
[data,text,laste] = instrumentAndRun(file,cellBoundaries,imageDir,imagePrefix,options);

Error in publish (line 185)
    dom = evalmxdom(file,dom,cellBoundaries,prefix,imageDir,outputDir,options);

Error in run_examples (line 23)
        publish(file.name);

Error in run (line 96)
evalin('caller', [script ';']);</error>
      </testcase>
      <testcase name="Test Case #13" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 99</system-out>
      </testcase>
      <testcase name="Test Case #14" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 60</system-out>
      </testcase>
      <testcase name="Test Case #15" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 45</system-out>
      </testcase>
      <testcase name="Test Case #16" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 98</system-out>
      </testcase>
      <testcase name="Test Case #17" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 69</system-out>
      </testcase>
      <testcase name="Test Case #18" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 49</system-out>
      </testcase>
      <testcase name="Test Case #19" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 36</system-out>
      </testcase>
      <testcase name="Test Case #20" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 43</system-out>
      </testcase>
      <testcase name="Test Case #21" time="0" timestamp="2017-08-11 17:49:48">
         <error message="Assertion failed." type="error">Error using Example13&gt;fcn2 (line 32)
Assertion failed.

Error in Example13&gt;fcn1 (line 23)
    fcn2(random_integer, idx);

Error in Example13 (line 14)
fcn1(random_integers);

Error in evalmxdom&gt;instrumentAndRun (line 109)
text = evalc(evalstr);

Error in evalmxdom (line 21)
[data,text,laste] = instrumentAndRun(file,cellBoundaries,imageDir,imagePrefix,options);

Error in publish (line 185)
    dom = evalmxdom(file,dom,cellBoundaries,prefix,imageDir,outputDir,options);

Error in run_examples (line 23)
        publish(file.name);

Error in run (line 96)
evalin('caller', [script ';']);</error>
      </testcase>
      <testcase name="Test Case #22" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 55</system-out>
      </testcase>
      <testcase name="Test Case #23" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 96</system-out>
      </testcase>
      <testcase name="Test Case #24" time="0" timestamp="2017-08-11 17:49:48">
         <error message="Assertion failed." type="error">Error using Example13&gt;fcn2 (line 32)
Assertion failed.

Error in Example13&gt;fcn1 (line 23)
    fcn2(random_integer, idx);

Error in Example13 (line 14)
fcn1(random_integers);

Error in evalmxdom&gt;instrumentAndRun (line 109)
text = evalc(evalstr);

Error in evalmxdom (line 21)
[data,text,laste] = instrumentAndRun(file,cellBoundaries,imageDir,imagePrefix,options);

Error in publish (line 185)
    dom = evalmxdom(file,dom,cellBoundaries,prefix,imageDir,outputDir,options);

Error in run_examples (line 23)
        publish(file.name);

Error in run (line 96)
evalin('caller', [script ';']);</error>
      </testcase>
      <testcase name="Test Case #25" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 77</system-out>
      </testcase>
      <testcase name="Test Case #26" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 84</system-out>
      </testcase>
      <testcase name="Test Case #27" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 91</system-out>
      </testcase>
      <testcase name="Test Case #28" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 63</system-out>
      </testcase>
      <testcase name="Test Case #29" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 59</system-out>
      </testcase>
      <testcase name="Test Case #30" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 78</system-out>
      </testcase>
      <testcase name="Test Case #31" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 27</system-out>
      </testcase>
      <testcase name="Test Case #32" time="0" timestamp="2017-08-11 17:49:48">
         <error message="Assertion failed." type="error">Error using Example13&gt;fcn2 (line 32)
Assertion failed.

Error in Example13&gt;fcn1 (line 23)
    fcn2(random_integer, idx);

Error in Example13 (line 14)
fcn1(random_integers);

Error in evalmxdom&gt;instrumentAndRun (line 109)
text = evalc(evalstr);

Error in evalmxdom (line 21)
[data,text,laste] = instrumentAndRun(file,cellBoundaries,imageDir,imagePrefix,options);

Error in publish (line 185)
    dom = evalmxdom(file,dom,cellBoundaries,prefix,imageDir,outputDir,options);

Error in run_examples (line 23)
        publish(file.name);

Error in run (line 96)
evalin('caller', [script ';']);</error>
      </testcase>
      <testcase name="Test Case #33" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 27</system-out>
      </testcase>
      <testcase name="Test Case #34" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 53</system-out>
      </testcase>
      <testcase name="Test Case #35" time="0" timestamp="2017-08-11 17:49:48">
         <error message="Assertion failed." type="error">Error using Example13&gt;fcn2 (line 32)
Assertion failed.

Error in Example13&gt;fcn1 (line 23)
    fcn2(random_integer, idx);

Error in Example13 (line 14)
fcn1(random_integers);

Error in evalmxdom&gt;instrumentAndRun (line 109)
text = evalc(evalstr);

Error in evalmxdom (line 21)
[data,text,laste] = instrumentAndRun(file,cellBoundaries,imageDir,imagePrefix,options);

Error in publish (line 185)
    dom = evalmxdom(file,dom,cellBoundaries,prefix,imageDir,outputDir,options);

Error in run_examples (line 23)
        publish(file.name);

Error in run (line 96)
evalin('caller', [script ';']);</error>
      </testcase>
      <testcase name="Test Case #36" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 92</system-out>
      </testcase>
      <testcase name="Test Case #37" time="0" timestamp="2017-08-11 17:49:48">
         <error message="Assertion failed." type="error">Error using Example13&gt;fcn2 (line 32)
Assertion failed.

Error in Example13&gt;fcn1 (line 23)
    fcn2(random_integer, idx);

Error in Example13 (line 14)
fcn1(random_integers);

Error in evalmxdom&gt;instrumentAndRun (line 109)
text = evalc(evalstr);

Error in evalmxdom (line 21)
[data,text,laste] = instrumentAndRun(file,cellBoundaries,imageDir,imagePrefix,options);

Error in publish (line 185)
    dom = evalmxdom(file,dom,cellBoundaries,prefix,imageDir,outputDir,options);

Error in run_examples (line 23)
        publish(file.name);

Error in run (line 96)
evalin('caller', [script ';']);</error>
      </testcase>
      <testcase name="Test Case #38" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 26</system-out>
      </testcase>
      <testcase name="Test Case #39" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 48</system-out>
      </testcase>
      <testcase name="Test Case #40" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 66</system-out>
      </testcase>
      <testcase name="Test Case #41" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 84</system-out>
      </testcase>
      <testcase name="Test Case #42" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 64</system-out>
      </testcase>
      <testcase name="Test Case #43" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 81</system-out>
      </testcase>
      <testcase name="Test Case #44" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 57</system-out>
      </testcase>
      <testcase name="Test Case #45" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 49</system-out>
      </testcase>
      <testcase name="Test Case #46" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 80</system-out>
      </testcase>
      <testcase name="Test Case #47" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 44</system-out>
      </testcase>
      <testcase name="Test Case #48" time="0" timestamp="2017-08-11 17:49:48">
         <error message="Assertion failed." type="error">Error using Example13&gt;fcn2 (line 32)
Assertion failed.

Error in Example13&gt;fcn1 (line 23)
    fcn2(random_integer, idx);

Error in Example13 (line 14)
fcn1(random_integers);

Error in evalmxdom&gt;instrumentAndRun (line 109)
text = evalc(evalstr);

Error in evalmxdom (line 21)
[data,text,laste] = instrumentAndRun(file,cellBoundaries,imageDir,imagePrefix,options);

Error in publish (line 185)
    dom = evalmxdom(file,dom,cellBoundaries,prefix,imageDir,outputDir,options);

Error in run_examples (line 23)
        publish(file.name);

Error in run (line 96)
evalin('caller', [script ';']);</error>
      </testcase>
      <testcase name="Test Case #49" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 99</system-out>
      </testcase>
      <testcase name="Test Case #50" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 75</system-out>
      </testcase>
      <testcase name="Test Case #51" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 58</system-out>
      </testcase>
      <testcase name="Test Case #52" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 33</system-out>
      </testcase>
      <testcase name="Test Case #53" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 59</system-out>
      </testcase>
      <testcase name="Test Case #54" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 91</system-out>
      </testcase>
      <testcase name="Test Case #55" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 85</system-out>
      </testcase>
      <testcase name="Test Case #56" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 87</system-out>
      </testcase>
      <testcase name="Test Case #57" time="0" timestamp="2017-08-11 17:49:48">
         <error message="Assertion failed." type="error">Error using Example13&gt;fcn2 (line 32)
Assertion failed.

Error in Example13&gt;fcn1 (line 23)
    fcn2(random_integer, idx);

Error in Example13 (line 14)
fcn1(random_integers);

Error in evalmxdom&gt;instrumentAndRun (line 109)
text = evalc(evalstr);

Error in evalmxdom (line 21)
[data,text,laste] = instrumentAndRun(file,cellBoundaries,imageDir,imagePrefix,options);

Error in publish (line 185)
    dom = evalmxdom(file,dom,cellBoundaries,prefix,imageDir,outputDir,options);

Error in run_examples (line 23)
        publish(file.name);

Error in run (line 96)
evalin('caller', [script ';']);</error>
      </testcase>
      <testcase name="Test Case #58" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 79</system-out>
      </testcase>
      <testcase name="Test Case #59" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 41</system-out>
      </testcase>
      <testcase name="Test Case #60" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 31</system-out>
      </testcase>
      <testcase name="Test Case #61" time="0" timestamp="2017-08-11 17:49:48">
         <error message="Assertion failed." type="error">Error using Example13&gt;fcn2 (line 32)
Assertion failed.

Error in Example13&gt;fcn1 (line 23)
    fcn2(random_integer, idx);

Error in Example13 (line 14)
fcn1(random_integers);

Error in evalmxdom&gt;instrumentAndRun (line 109)
text = evalc(evalstr);

Error in evalmxdom (line 21)
[data,text,laste] = instrumentAndRun(file,cellBoundaries,imageDir,imagePrefix,options);

Error in publish (line 185)
    dom = evalmxdom(file,dom,cellBoundaries,prefix,imageDir,outputDir,options);

Error in run_examples (line 23)
        publish(file.name);

Error in run (line 96)
evalin('caller', [script ';']);</error>
      </testcase>
      <testcase name="Test Case #62" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 71</system-out>
      </testcase>
      <testcase name="Test Case #63" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 85</system-out>
      </testcase>
      <testcase name="Test Case #64" time="0" timestamp="2017-08-11 17:49:48">
         <error message="Assertion failed." type="error">Error using Example13&gt;fcn2 (line 32)
Assertion failed.

Error in Example13&gt;fcn1 (line 23)
    fcn2(random_integer, idx);

Error in Example13 (line 14)
fcn1(random_integers);

Error in evalmxdom&gt;instrumentAndRun (line 109)
text = evalc(evalstr);

Error in evalmxdom (line 21)
[data,text,laste] = instrumentAndRun(file,cellBoundaries,imageDir,imagePrefix,options);

Error in publish (line 185)
    dom = evalmxdom(file,dom,cellBoundaries,prefix,imageDir,outputDir,options);

Error in run_examples (line 23)
        publish(file.name);

Error in run (line 96)
evalin('caller', [script ';']);</error>
      </testcase>
      <testcase name="Test Case #65" time="0" timestamp="2017-08-11 17:49:48">
         <error message="Assertion failed." type="error">Error using Example13&gt;fcn2 (line 32)
Assertion failed.

Error in Example13&gt;fcn1 (line 23)
    fcn2(random_integer, idx);

Error in Example13 (line 14)
fcn1(random_integers);

Error in evalmxdom&gt;instrumentAndRun (line 109)
text = evalc(evalstr);

Error in evalmxdom (line 21)
[data,text,laste] = instrumentAndRun(file,cellBoundaries,imageDir,imagePrefix,options);

Error in publish (line 185)
    dom = evalmxdom(file,dom,cellBoundaries,prefix,imageDir,outputDir,options);

Error in run_examples (line 23)
        publish(file.name);

Error in run (line 96)
evalin('caller', [script ';']);</error>
      </testcase>
      <testcase name="Test Case #66" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 95</system-out>
      </testcase>
      <testcase name="Test Case #67" time="0" timestamp="2017-08-11 17:49:48">
         <error message="Assertion failed." type="error">Error using Example13&gt;fcn2 (line 32)
Assertion failed.

Error in Example13&gt;fcn1 (line 23)
    fcn2(random_integer, idx);

Error in Example13 (line 14)
fcn1(random_integers);

Error in evalmxdom&gt;instrumentAndRun (line 109)
text = evalc(evalstr);

Error in evalmxdom (line 21)
[data,text,laste] = instrumentAndRun(file,cellBoundaries,imageDir,imagePrefix,options);

Error in publish (line 185)
    dom = evalmxdom(file,dom,cellBoundaries,prefix,imageDir,outputDir,options);

Error in run_examples (line 23)
        publish(file.name);

Error in run (line 96)
evalin('caller', [script ';']);</error>
      </testcase>
      <testcase name="Test Case #68" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 96</system-out>
      </testcase>
      <testcase name="Test Case #69" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 34</system-out>
      </testcase>
      <testcase name="Test Case #70" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 88</system-out>
      </testcase>
      <testcase name="Test Case #71" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 27</system-out>
      </testcase>
      <testcase name="Test Case #72" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 72</system-out>
      </testcase>
      <testcase name="Test Case #73" time="0" timestamp="2017-08-11 17:49:48">
         <error message="Assertion failed." type="error">Error using Example13&gt;fcn2 (line 32)
Assertion failed.

Error in Example13&gt;fcn1 (line 23)
    fcn2(random_integer, idx);

Error in Example13 (line 14)
fcn1(random_integers);

Error in evalmxdom&gt;instrumentAndRun (line 109)
text = evalc(evalstr);

Error in evalmxdom (line 21)
[data,text,laste] = instrumentAndRun(file,cellBoundaries,imageDir,imagePrefix,options);

Error in publish (line 185)
    dom = evalmxdom(file,dom,cellBoundaries,prefix,imageDir,outputDir,options);

Error in run_examples (line 23)
        publish(file.name);

Error in run (line 96)
evalin('caller', [script ';']);</error>
      </testcase>
      <testcase name="Test Case #74" time="0" timestamp="2017-08-11 17:49:48">
         <error message="Assertion failed." type="error">Error using Example13&gt;fcn2 (line 32)
Assertion failed.

Error in Example13&gt;fcn1 (line 23)
    fcn2(random_integer, idx);

Error in Example13 (line 14)
fcn1(random_integers);

Error in evalmxdom&gt;instrumentAndRun (line 109)
text = evalc(evalstr);

Error in evalmxdom (line 21)
[data,text,laste] = instrumentAndRun(file,cellBoundaries,imageDir,imagePrefix,options);

Error in publish (line 185)
    dom = evalmxdom(file,dom,cellBoundaries,prefix,imageDir,outputDir,options);

Error in run_examples (line 23)
        publish(file.name);

Error in run (line 96)
evalin('caller', [script ';']);</error>
      </testcase>
      <testcase name="Test Case #75" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 86</system-out>
      </testcase>
      <testcase name="Test Case #76" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 42</system-out>
      </testcase>
      <testcase name="Test Case #77" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 56</system-out>
      </testcase>
      <testcase name="Test Case #78" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 74</system-out>
      </testcase>
      <testcase name="Test Case #79" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 97</system-out>
      </testcase>
      <testcase name="Test Case #80" time="0" timestamp="2017-08-11 17:49:48">
         <error message="Assertion failed." type="error">Error using Example13&gt;fcn2 (line 32)
Assertion failed.

Error in Example13&gt;fcn1 (line 23)
    fcn2(random_integer, idx);

Error in Example13 (line 14)
fcn1(random_integers);

Error in evalmxdom&gt;instrumentAndRun (line 109)
text = evalc(evalstr);

Error in evalmxdom (line 21)
[data,text,laste] = instrumentAndRun(file,cellBoundaries,imageDir,imagePrefix,options);

Error in publish (line 185)
    dom = evalmxdom(file,dom,cellBoundaries,prefix,imageDir,outputDir,options);

Error in run_examples (line 23)
        publish(file.name);

Error in run (line 96)
evalin('caller', [script ';']);</error>
      </testcase>
      <testcase name="Test Case #81" time="0" timestamp="2017-08-11 17:49:48">
         <error message="Assertion failed." type="error">Error using Example13&gt;fcn2 (line 32)
Assertion failed.

Error in Example13&gt;fcn1 (line 23)
    fcn2(random_integer, idx);

Error in Example13 (line 14)
fcn1(random_integers);

Error in evalmxdom&gt;instrumentAndRun (line 109)
text = evalc(evalstr);

Error in evalmxdom (line 21)
[data,text,laste] = instrumentAndRun(file,cellBoundaries,imageDir,imagePrefix,options);

Error in publish (line 185)
    dom = evalmxdom(file,dom,cellBoundaries,prefix,imageDir,outputDir,options);

Error in run_examples (line 23)
        publish(file.name);

Error in run (line 96)
evalin('caller', [script ';']);</error>
      </testcase>
      <testcase name="Test Case #82" time="0" timestamp="2017-08-11 17:49:48">
         <error message="Assertion failed." type="error">Error using Example13&gt;fcn2 (line 32)
Assertion failed.

Error in Example13&gt;fcn1 (line 23)
    fcn2(random_integer, idx);

Error in Example13 (line 14)
fcn1(random_integers);

Error in evalmxdom&gt;instrumentAndRun (line 109)
text = evalc(evalstr);

Error in evalmxdom (line 21)
[data,text,laste] = instrumentAndRun(file,cellBoundaries,imageDir,imagePrefix,options);

Error in publish (line 185)
    dom = evalmxdom(file,dom,cellBoundaries,prefix,imageDir,outputDir,options);

Error in run_examples (line 23)
        publish(file.name);

Error in run (line 96)
evalin('caller', [script ';']);</error>
      </testcase>
      <testcase name="Test Case #83" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 81</system-out>
      </testcase>
      <testcase name="Test Case #84" time="0" timestamp="2017-08-11 17:49:48">
         <error message="Assertion failed." type="error">Error using Example13&gt;fcn2 (line 32)
Assertion failed.

Error in Example13&gt;fcn1 (line 23)
    fcn2(random_integer, idx);

Error in Example13 (line 14)
fcn1(random_integers);

Error in evalmxdom&gt;instrumentAndRun (line 109)
text = evalc(evalstr);

Error in evalmxdom (line 21)
[data,text,laste] = instrumentAndRun(file,cellBoundaries,imageDir,imagePrefix,options);

Error in publish (line 185)
    dom = evalmxdom(file,dom,cellBoundaries,prefix,imageDir,outputDir,options);

Error in run_examples (line 23)
        publish(file.name);

Error in run (line 96)
evalin('caller', [script ';']);</error>
      </testcase>
      <testcase name="Test Case #85" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 53</system-out>
      </testcase>
      <testcase name="Test Case #86" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 71</system-out>
      </testcase>
      <testcase name="Test Case #87" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 100</system-out>
      </testcase>
      <testcase name="Test Case #88" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 61</system-out>
      </testcase>
      <testcase name="Test Case #89" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 29</system-out>
      </testcase>
      <testcase name="Test Case #90" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 55</system-out>
      </testcase>
      <testcase name="Test Case #91" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 54</system-out>
      </testcase>
      <testcase name="Test Case #92" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 90</system-out>
      </testcase>
      <testcase name="Test Case #93" time="0" timestamp="2017-08-11 17:49:48">
         <error message="Assertion failed." type="error">Error using Example13&gt;fcn2 (line 32)
Assertion failed.

Error in Example13&gt;fcn1 (line 23)
    fcn2(random_integer, idx);

Error in Example13 (line 14)
fcn1(random_integers);

Error in evalmxdom&gt;instrumentAndRun (line 109)
text = evalc(evalstr);

Error in evalmxdom (line 21)
[data,text,laste] = instrumentAndRun(file,cellBoundaries,imageDir,imagePrefix,options);

Error in publish (line 185)
    dom = evalmxdom(file,dom,cellBoundaries,prefix,imageDir,outputDir,options);

Error in run_examples (line 23)
        publish(file.name);

Error in run (line 96)
evalin('caller', [script ';']);</error>
      </testcase>
      <testcase name="Test Case #94" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 99</system-out>
      </testcase>
      <testcase name="Test Case #95" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 91</system-out>
      </testcase>
      <testcase name="Test Case #96" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 94</system-out>
      </testcase>
      <testcase name="Test Case #97" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 67</system-out>
      </testcase>
      <testcase name="Test Case #98" time="0" timestamp="2017-08-11 17:49:48">
         <system-out>Test Success! 73</system-out>
      </testcase>
      <testcase name="Test Case #99" time="0" timestamp="2017-08-11 17:49:48">
         <error message="Assertion failed." type="error">Error using Example13&gt;fcn2 (line 32)
Assertion failed.

Error in Example13&gt;fcn1 (line 23)
    fcn2(random_integer, idx);

Error in Example13 (line 14)
fcn1(random_integers);

Error in evalmxdom&gt;instrumentAndRun (line 109)
text = evalc(evalstr);

Error in evalmxdom (line 21)
[data,text,laste] = instrumentAndRun(file,cellBoundaries,imageDir,imagePrefix,options);

Error in publish (line 185)
    dom = evalmxdom(file,dom,cellBoundaries,prefix,imageDir,outputDir,options);

Error in run_examples (line 23)
        publish(file.name);

Error in run (line 96)
evalin('caller', [script ';']);</error>
      </testcase>
      <testcase name="Test Case #100" time="0" timestamp="2017-08-11 17:49:48">
         <error message="Assertion failed." type="error">Error using Example13&gt;fcn2 (line 32)
Assertion failed.

Error in Example13&gt;fcn1 (line 23)
    fcn2(random_integer, idx);

Error in Example13 (line 14)
fcn1(random_integers);

Error in evalmxdom&gt;instrumentAndRun (line 109)
text = evalc(evalstr);

Error in evalmxdom (line 21)
[data,text,laste] = instrumentAndRun(file,cellBoundaries,imageDir,imagePrefix,options);

Error in publish (line 185)
    dom = evalmxdom(file,dom,cellBoundaries,prefix,imageDir,outputDir,options);

Error in run_examples (line 23)
        publish(file.name);

Error in run (line 96)
evalin('caller', [script ';']);</error>
      </testcase>
   </testsuite>
</testsuites>