#!/bin/bash
testcases="mp1 lab02 lab03 lab04 lab06 lab07 lab10 lab12"

#make
for assign in $testcases
do
	./monad $assign --newtests --solution --noupdate --staff &>/dev/null
	score=$?
	if [ $score -lt 100 ] || [ $score -eq 255 ]
	then
		echo "FAILED: Testcase $assign failed with score of $score"
	else
		echo "passed: $assign: $score"
	fi
done
