AOCDay.is_test() returns a bool, True if the solution for the current part/input_file is known; else False
This commit is contained in:
parent
f0e499f0a3
commit
2bec56eb1c
@ -35,6 +35,9 @@ class AOCDay:
|
||||
def part2(self) -> Any:
|
||||
raise NotImplementedError()
|
||||
|
||||
def is_test(self) -> bool:
|
||||
return self._current_test_solution is not None
|
||||
|
||||
def run_part(
|
||||
self,
|
||||
part: int,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user