output reorder
This commit is contained in:
parent
263b343b24
commit
6bf5835488
4
aoc.py
4
aoc.py
@ -133,8 +133,8 @@ def printSolution(day, part, solution, test=None, test_case=0, exec_time=None):
|
|||||||
|
|
||||||
if test is not None:
|
if test is not None:
|
||||||
print(
|
print(
|
||||||
"(TEST case%d/day%d/part%d) -- got '%s' -- expected '%s' -> %s"
|
"(TEST day%d/part%d/case%d) -- got '%s' -- expected '%s' -> %s"
|
||||||
% (test_case, day, part, solution, test, "correct" if test == solution else "WRONG")
|
% (day, part, test_case, solution, test, "correct" if test == solution else "WRONG")
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
print("Solution to day %s, part %s: %s%s" % (day, part, solution, time_output))
|
print("Solution to day %s, part %s: %s%s" % (day, part, solution, time_output))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user