#!/bin/bash

# Settings
theirBin="/home/xkucirk/vzory/maze" # Path to example binary
myBin="./maze" # Path to my binary
params="input.txt output.bmp '#AABBCC' -solve" # Input to pass to both binaries

# Test lauches
$myBin $params # Launch my binary with wanted input, save output to myBin.out
cp output.bmp myoutput.bmp
$theirBin $params # Launch example binary with wanted input, save output to theirBin.out

# Compare for differences
diff myoutput.bmp output.bmp

# Cleanup
rm myoutput.bmp
rm output.bmp