We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47e4f22 commit 0bf4967Copy full SHA for 0bf4967
src/template/mod.rs
@@ -45,4 +45,15 @@ macro_rules! solution {
45
run_part(part_two, &input, DAY, 2);
46
}
47
};
48
+ ($day:expr, $part:expr) => { /// Allows testing partially implemented solutions on full input
49
+
50
+ const DAY: advent_of_code::Day = advent_of_code::day!($day);
51
+ const PART: u8 = $part;
52
53
+ fn main() {
54
+ use advent_of_code::template::runner::*;
55
+ let input = advent_of_code::template::read_file("inputs", DAY);
56
+ run_part(part_one, &input, DAY, PART);
57
+ }
58
+ };
59
0 commit comments