/
Unit Testing

Unit Testing

To test specific portions of the code I have put the Zofu unit testing framework in the EFDC git repo. Details on Zofu can be found here: GitHub - acroucher/zofu: Zofu is Object-oriented Fortran Unit-testing

Tests Created

  • Propwash module

    • Compares propwash velocity field calculated internally to EFDC to the velocity field that Luis wrote

      • Compares 6 of the components of the velocity field

Running Tests

The tests can be fun from the EFDC git repo:

efdc\zofu_unit_testing\tests

using the batch script:

run_tests.bat

It will report back the number of tests run and if they passed or failed.

 

Related content