From 4cbcb7e0c26a8bf3e47ef1373ad6c090d9d6ac87 Mon Sep 17 00:00:00 2001 From: Xiretza Date: Wed, 1 Dec 2021 08:26:02 +0100 Subject: [PATCH] test.sh: iterate over all days --- test.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test.sh b/test.sh index cee2cc2..886faac 100755 --- a/test.sh +++ b/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