#  Test the function Double_Factorial(), Double_Factorial_Max_Arg(),
#  and xDouble_Factorial() in the file double_factorial.c.                 
#
#  Dependent on: (none)
#
#  After downloading change permissions: chmod 744 testdoublefactorial.sh 
#  Execute as ./testdoublefactorial.sh (unless your profile has a PATH set to
#                                       this directory)

# Change! if double_factorial.c is in a different directory.
gcc -c -o a.o double_factorial.c

# Change! if testdoublefactorial.c is in a different directory.
gcc -o cvers testdoublefactorial.c a.o -lm

# Change! if you profile has a PATH set to this directory or you
# want to change the name of the output file.

./cvers > DoubleFactorialTest.txt

# Delete temporary files.
rm cvers
rm a.o

