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
|
||||
|
||||
for day in day*; do
|
||||
input=data/$day.input
|
||||
expected=data/$day.expected
|
||||
for solution in "$day"/*; do
|
||||
for n in $(seq 1 25); do
|
||||
input=data/day$n.input
|
||||
expected=data/day$n.expected
|
||||
for solution in "day$n"/*; do
|
||||
echo -n "$solution... "
|
||||
|
||||
case "${solution##*/}" in
|
||||
|
|
Loading…
Reference in a new issue