Skip to content
Snippets Groups Projects
Commit f64e8467 authored by pm3g19's avatar pm3g19
Browse files

Removed test file from VCS

parent 507884c3
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
PROBLEM=$1
INPUT=$2
TESTCASES=~/dev/plc/testCases
EXEC_DIR=~/dev/plc
cd $TESTCASES/pr$PROBLEM/inputs/input$INPUT
echo "Expected:"
EXP=$(cat $TESTCASES/pr$PROBLEM/expected/exp$INPUT.txt)
cat $TESTCASES/pr$PROBLEM/expected/exp$INPUT.txt
echo "Got:"
GOT=$($EXEC_DIR/csvql $EXEC_DIR/pr$PROBLEM.cql)
$EXEC_DIR/csvql $EXEC_DIR/pr$PROBLEM.cql
if [ "$EXP" = "$GOT" ];
then
echo "Test passed"
else
echo "Test failed"
fi
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment