Skip to content

Testcases

Testcases #127

GitHub Actions / JUnit Test Report failed Nov 10, 2024 in 0s

32 tests run, 21 passed, 0 skipped, 11 failed.

Annotations

Check failure on line 1 in tests/test.m

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test.validateNominalFeasible

Verification failed in test/validateNominalFeasible.
    ---------------------
Raw output
Verification failed in test/validateNominalFeasible.
    ---------------------
    Framework Diagnostic:
    ---------------------
    verifyTrue failed.
    --> The value must evaluate to "true".
    
    Actual Value:
      logical
    
       0
    ----------------------
    Additional Diagnostic:
    ----------------------
    Nominal design violates these constraints:  irrelevant_max_force
    ------------------
    Stack Information:
    ------------------
    In /home/runner/work/MDOcean/MDOcean/tests/test.m (test.validateNominalFeasible) at 86

Check failure on line 1 in tests/test.m

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test.validateNominalHydroCoeffs

Verification failed in test/validateNominalHydroCoeffs.
    ---------------------
Raw output
Verification failed in test/validateNominalHydroCoeffs.
    ---------------------
    Framework Diagnostic:
    ---------------------
    verifyLessThanOrEqual failed.
    --> Each element must be less than or equal to the maximum value.
        
        Failing Indices:
             1     2     3     4
    
    Actual Value:
       0.204482267456327   0.887336280522300   0.208933730234385   0.813333333333333
    Maximum Value (Inclusive):
       0.100000000000000
    ------------------
    Stack Information:
    ------------------
    In /home/runner/work/MDOcean/MDOcean/tests/test.m (test.validateNominalHydroCoeffs) at 91

Check failure on line 1 in tests/test.m

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test.allFiguresRun(which_figs=Fig_6_ParetoFront,which_tabs=none6)

Error occurred in test/allFiguresRun(which_figs=Fig_6_ParetoFront,which_tabs=none6) and it did not run to completion.
    ---------
Raw output
Error occurred in test/allFiguresRun(which_figs=Fig_6_ParetoFront,which_tabs=none6) and it did not run to completion.
    ---------
    Error ID:
    ---------
    'MATLAB:load:couldNotReadFile'
    --------------
    Error Details:
    --------------
    Error using load
    Unable to find file or directory 'pareto_search_results.mat'.
    
    Error in pareto_curve_heuristics (line 6)
        load("pareto_search_results.mat")
    
    Error in all_figures (line 55)
        pareto_curve_heuristics()
    
    Error in test/allFiguresRun (line 68)
                success_criterion = all_figures(which_figs,which_tabs,testCase.uuid.Value);

Check failure on line 1 in tests/test.m

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test.allFiguresRun(which_figs=Fig_7_DesignHeuristics,which_tabs=none7)

Error occurred in test/allFiguresRun(which_figs=Fig_7_DesignHeuristics,which_tabs=none7) and it did not run to completion.
    ---------
Raw output
Error occurred in test/allFiguresRun(which_figs=Fig_7_DesignHeuristics,which_tabs=none7) and it did not run to completion.
    ---------
    Error ID:
    ---------
    'MATLAB:load:couldNotReadFile'
    --------------
    Error Details:
    --------------
    Error using load
    Unable to find file or directory 'pareto_search_results.mat'.
    
    Error in pareto_curve_heuristics (line 6)
        load("pareto_search_results.mat")
    
    Error in all_figures (line 55)
        pareto_curve_heuristics()
    
    Error in test/allFiguresRun (line 68)
                success_criterion = all_figures(which_figs,which_tabs,testCase.uuid.Value);

Check failure on line 1 in tests/test.m

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test.allFiguresRun(which_figs=none6,which_tabs=Tab_6_OptimalDVsFor4Locations)

Verification failed in test/allFiguresRun(which_figs=none6,which_tabs=Tab_6_OptimalDVsFor4Locations).
    ---------------------
Raw output
Verification failed in test/allFiguresRun(which_figs=none6,which_tabs=Tab_6_OptimalDVsFor4Locations).
    ---------------------
    Framework Diagnostic:
    ---------------------
    verifyGreaterThan failed.
    --> Each element must be greater than the minimum value.
        
        Failing Indices:
             4
    
    Actual Value:
         2     2     2    -2
    Minimum Value (Exclusive):
         0
    ------------------
    Stack Information:
    ------------------
    In /home/runner/work/MDOcean/MDOcean/tests/test.m (test.allFiguresRun) at 71

Check failure on line 1 in tests/test.m

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test.validateNominal(field=mass_f,rel_tol=0.1)

Verification failed in test/validateNominal(field=mass_f,rel_tol=0.1).
    ---------------------
Raw output
Verification failed in test/validateNominal(field=mass_f,rel_tol=0.1).
    ---------------------
    Framework Diagnostic:
    ---------------------
    verifyEqual failed.
    --> The numeric values are not equal using "isequaln".
    --> The error was not within relative tolerance.
    --> Failure table:
                 Actual         Expected          Error            RelativeError       RelativeTolerance
            ________________    ________    _________________    __________________    _________________
                                                                                                        
            183566.915708626     208000     -24433.0842913736    -0.117466751400835           0.1       
    
    Actual Value:
         1.835669157086264e+05
    Expected Value:
          208000
    ------------------
    Stack Information:
    ------------------
    In /home/runner/work/MDOcean/MDOcean/tests/test.m (test.validateNominal) at 79

Check failure on line 1 in tests/test.m

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test.validateNominal(field=mass_vc,rel_tol=0.1_1)

Verification failed in test/validateNominal(field=mass_vc,rel_tol=0.1_1).
    ---------------------
Raw output
Verification failed in test/validateNominal(field=mass_vc,rel_tol=0.1_1).
    ---------------------
    Framework Diagnostic:
    ---------------------
    verifyEqual failed.
    --> The numeric values are not equal using "isequaln".
    --> The error was not within relative tolerance.
    --> Failure table:
                 Actual         Expected          Error            RelativeError       RelativeTolerance
            ________________    ________    _________________    __________________    _________________
                                                                                                        
            180212.214605481     224000     -43787.7853945189    -0.195481184796959           0.1       
    
    Actual Value:
         1.802122146054811e+05
    Expected Value:
          224000
    ------------------
    Stack Information:
    ------------------
    In /home/runner/work/MDOcean/MDOcean/tests/test.m (test.validateNominal) at 79

Check failure on line 1 in tests/test.m

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test.validateNominal(field=LCOE,rel_tol=0.25_2)

Verification failed in test/validateNominal(field=LCOE,rel_tol=0.25_2).
    ---------------------
Raw output
Verification failed in test/validateNominal(field=LCOE,rel_tol=0.25_2).
    ---------------------
    Framework Diagnostic:
    ---------------------
    verifyEqual failed.
    --> The numeric values are not equal using "isequaln".
    --> The error was not within relative tolerance.
    --> Failure table:
            Index         Actual         Expected          Error             RelativeError       RelativeTolerance
            _____    ________________    ________    __________________    __________________    _________________
                                                                                                                  
              2      1.01883008167074      1.45      -0.431169918329259    -0.297358564365007          0.25       
    
    Actual Value:
       3.489117514901982   1.018830081670741   0.666746094082018   0.601884210823798
    Expected Value:
       4.480000000000000   1.450000000000000   0.850000000000000   0.760000000000000
    ------------------
    Stack Information:
    ------------------
    In /home/runner/work/MDOcean/MDOcean/tests/test.m (test.validateNominal) at 79

Check failure on line 1 in tests/test.m

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test.validateNominal(field=power_avg,rel_tol=0.1_4)

Verification failed in test/validateNominal(field=power_avg,rel_tol=0.1_4).
    ---------------------
Raw output
Verification failed in test/validateNominal(field=power_avg,rel_tol=0.1_4).
    ---------------------
    Framework Diagnostic:
    ---------------------
    verifyEqual failed.
    --> The numeric values are not equal using "isequaln".
    --> The error was not within relative tolerance.
    --> Failure table:
                 Actual         Expected         Error            RelativeError      RelativeTolerance
            ________________    ________    ________________    _________________    _________________
                                                                                                      
            110339.749612784     85900      24439.7496127838    0.284513965224492           0.1       
    
    Actual Value:
         1.103397496127838e+05
    Expected Value:
           85900
    ------------------
    Stack Information:
    ------------------
    In /home/runner/work/MDOcean/MDOcean/tests/test.m (test.validateNominal) at 79

Check failure on line 1 in tests/test.m

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test.validateNominal(field=force_heave,rel_tol=0.1_6)

Verification failed in test/validateNominal(field=force_heave,rel_tol=0.1_6).
    ---------------------
Raw output
Verification failed in test/validateNominal(field=force_heave,rel_tol=0.1_6).
    ---------------------
    Framework Diagnostic:
    ---------------------
    verifyEqual failed.
    --> The numeric values are not equal using "isequaln".
    --> The error was not within relative tolerance.
    --> Failure table:
                 Actual         Expected          Error            RelativeError       RelativeTolerance
            ________________    ________    _________________    __________________    _________________
                                                                                                        
            5285883.50594413    8500000     -3214116.49405587    -0.378131352241867           0.1       
    
    Actual Value:
         5.285883505944134e+06
    Expected Value:
         8500000
    ------------------
    Stack Information:
    ------------------
    In /home/runner/work/MDOcean/MDOcean/tests/test.m (test.validateNominal) at 79

Check failure on line 1 in tests/test.m

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test.validateNominal(field=FOS_b,rel_tol=0.1_7)

Verification failed in test/validateNominal(field=FOS_b,rel_tol=0.1_7).
    ---------------------
Raw output
Verification failed in test/validateNominal(field=FOS_b,rel_tol=0.1_7).
    ---------------------
    Framework Diagnostic:
    ---------------------
    verifyEqual failed.
    --> The numeric values are not equal using "isequaln".
    --> The error was not within relative tolerance.
    --> Failure table:
                 Actual         Expected         Error           RelativeError      RelativeTolerance
            ________________    ________    ________________    ________________    _________________
                                                                                                     
            138.261637902806       3        135.261637902806    45.0872126342687           0.1       
    
    Actual Value:
         1.382616379028062e+02
    Expected Value:
         3
    ------------------
    Stack Information:
    ------------------
    In /home/runner/work/MDOcean/MDOcean/tests/test.m (test.validateNominal) at 79