#!/bin/csh -f

if ( ! -e equation.out ) then
   echo File \"equation.out\" not found.
   exit 1
endif

if ( { diff -w equation.out equation.sol } ) then
   echo "PROGRAM ACCEPTED."
else
   echo "WRONG OUTPUT."
endif

