test.sh: iterate over all days
This commit is contained in:
parent
8e1fcf87c4
commit
4cbcb7e0c2
1 changed files with 4 additions and 4 deletions
8
test.sh
8
test.sh
|
@ -27,10 +27,10 @@ run_solution() {
|
||||||
|
|
||||||
shopt -s dotglob nullglob
|
shopt -s dotglob nullglob
|
||||||
|
|
||||||
for day in day*; do
|
for n in $(seq 1 25); do
|
||||||
input=data/$day.input
|
input=data/day$n.input
|
||||||
expected=data/$day.expected
|
expected=data/day$n.expected
|
||||||
for solution in "$day"/*; do
|
for solution in "day$n"/*; do
|
||||||
echo -n "$solution... "
|
echo -n "$solution... "
|
||||||
|
|
||||||
case "${solution##*/}" in
|
case "${solution##*/}" in
|
||||||
|
|
Loading…
Reference in a new issue