#!/bin/sh
# This script compiles and runs the internal tests for Huffman project

echo \* Making tests...
./makeunix tests

cd bin
echo
echo \* Testing...
./_bintree.exe
./_bufferi.exe
./_minheap.exe
./_encdec.exe
./_header.exe
./_treeio.exe
./_prefio.exe
./_fileio.exe

# The following two print a few lines on 'stdout'
# _misc.exe
# _error.exe

cd ..

echo