Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Hull and Outfitting

Acceptance Test Program

  • Last UpdatedNov 10, 2025
  • 1 minute read

An example program (c_example.c, see section below) constitutes an Acceptance Test. This test follows a similar format to the FORTRAN test, without the d3test example:

  1. Set the appropriate DAR project environment variables:

    For example, setenv DAR000 %PDMSEXE%\dars\dar000

    setenv DAR100 %PDMSEXE%\dars\dar100

  2. Set the DARs library environment variable:

    For example, setenv DARSLIBDIR %PDMSEXE%\dars

  3. Create a work directory and copy c_example.c into the work directory from the DARs release directory %DARSLIBDIR%.

  4. Change directory to the work directory

  5. Enter %DARSLIBDIR/ccompload c_example

  6. Enter c_example

    Does the output appear to be the same as the output listed in the appendix (allowing for differences of print format)?

Related Links
TitleResults for “How to create a CRG?”Also Available in