#! /bin/bash

#rm -rf $(dirname $(readlink -f "$0"))/tests/out/*

DELTA=$(echo $(dirname $(realpath $0)) | cut -d'_' -f 3)
DELTA=${DELTA//delta/$replace}

LINES=$(echo $(dirname $(realpath $0)) | cut -d'_' -f 2)
LINES=${LINES//limit/$replace}

for filename in $(ls ./tests/in/); do
	echo -n "Running: ${filename%.*} / Delta ${DELTA} / Limit ${LINES}"
	( time python3 hotpath_elis_TST.py ${filename%.*} ${DELTA} 0 ${LINES} False ) |& tee -a ./tests/console_out.txt
	echo "!!! DONE"
done
