#!/bin/bash

function check_okay {
	if [ $? -ne 0 ]
	then
		echo
		echo "FAILED"
		echo
		exit 1
	fi
}

./rn >& tmp.txt
check_okay
diff -b tmp.txt test_output
#ndiff -quiet -relerr 1.0e-8 tmp.txt test_output