File tree Expand file tree Collapse file tree 3 files changed +25
-0
lines changed
Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ pub fn solution(puzzle_day: PuzzleDay) -> Box<dyn Solution> {
9393 6 => Box :: new ( year2015:: day06:: Day06 ) ,
9494 7 => Box :: new ( year2015:: day07:: Day07 ) ,
9595 8 => Box :: new ( year2015:: day08:: Day08 ) ,
96+ 9 => Box :: new ( year2015:: day09:: Day09 ) ,
9697 _ => panic ! ( "Day not exist" ) ,
9798 } ,
9899 }
Original file line number Diff line number Diff line change 1+ use crate :: solutions:: Solution ;
2+
3+ pub struct Day09 ;
4+
5+ impl Solution for Day09 {
6+ fn part_one ( & self , _input : & str ) -> String {
7+ String :: from ( "0" )
8+ }
9+
10+ fn part_two ( & self , _input : & str ) -> String {
11+ String :: from ( "0" )
12+ }
13+ }
14+
15+ #[ cfg( test) ]
16+ mod tests {
17+ use super :: * ;
18+
19+ #[ test]
20+ fn part_one_example_test ( ) {
21+ assert_eq ! ( "0" , Day09 . part_one( "" ) ) ;
22+ }
23+ }
Original file line number Diff line number Diff line change @@ -6,3 +6,4 @@ pub mod day05;
66pub mod day06;
77pub mod day07;
88pub mod day08;
9+ pub mod day09;
You can’t perform that action at this time.
0 commit comments