#!/bin/bash # Script to test Mathomatic. # Just run this to see if Mathomatic runs properly on your system. # It does a diff between the output of the test and the expected output. # If no differences are reported, "All tests passed" is displayed. echo Testing Mathomatic... time ../mathomatic -t all 0<&- >test.out && diff -u all.out test.out && echo All tests passed. rm test.out