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:
-
Set the appropriate DAR project environment variables:
For example, setenv DAR000 %PDMSEXE%\dars\dar000
setenv DAR100 %PDMSEXE%\dars\dar100
-
Set the DARs library environment variable:
For example, setenv DARSLIBDIR %PDMSEXE%\dars
-
Create a work directory and copy c_example.c into the work directory from the DARs release directory %DARSLIBDIR%.
-
Change directory to the work directory
-
Enter %DARSLIBDIR/ccompload c_example
-
Enter c_example
Does the output appear to be the same as the output listed in the appendix (allowing for differences of print format)?