File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -51,16 +51,12 @@ Day 0 - Part 2: 55
5151This command will run the solution for the given day using ` data/00_input.txt ` file and print the answers
5252for both parts.
5353
54- If you also want to see the result for the test data, you can use the ` -t/--test-data ` flag.
54+ If you want to see the result only for the test data, you can use the ` -t/--test-data ` flag.
5555``` sh
5656$ aoc run < day> -t
5757Using data from 00_test_input.txt
5858Day 0 - Part 1: 1
5959Day 0 - Part 2: 10
60-
61- Using data from 00_input.txt
62- Day 0 - Part 1: 1
63- Day 0 - Part 2: 55
6460```
6561
6662### Verifying solution
Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ def run_challenge(day: int, test_data: bool):
2727 module = import_challenge_module (day )
2828 if test_data :
2929 module .Challenge (use_test_data = True ).run ()
30- module .Challenge (use_test_data = False ).run ()
30+ else :
31+ module .Challenge (use_test_data = False ).run ()
3132
3233
3334@app .command ()
You can’t perform that action at this time.
0 commit comments