From 6bf5835488aa746e99c8ed9db9e04a7baa8fe22e Mon Sep 17 00:00:00 2001 From: Stefan Harmuth Date: Sat, 27 Nov 2021 17:03:42 +0100 Subject: [PATCH] output reorder --- aoc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aoc.py b/aoc.py index d12d219..9064738 100644 --- a/aoc.py +++ b/aoc.py @@ -133,8 +133,8 @@ def printSolution(day, part, solution, test=None, test_case=0, exec_time=None): if test is not None: print( - "(TEST case%d/day%d/part%d) -- got '%s' -- expected '%s' -> %s" - % (test_case, day, part, solution, test, "correct" if test == solution else "WRONG") + "(TEST day%d/part%d/case%d) -- got '%s' -- expected '%s' -> %s" + % (day, part, test_case, solution, test, "correct" if test == solution else "WRONG") ) else: print("Solution to day %s, part %s: %s%s" % (day, part, solution, time_output))