Prepare future scaffolding.

Also reformat the code, but that is nothing significant.
This commit is contained in:
2018-12-09 13:02:54 +01:00
parent 9b04e3b2c9
commit 9b287a0098
23 changed files with 456 additions and 23 deletions

View File

@@ -1,6 +1,7 @@
use std::collections::HashSet;
use std::io;
use std::io::prelude::*;
use common;
pub struct Day01 {}
@@ -46,9 +47,10 @@ impl common::Solution for Day01 {
#[cfg(test)]
mod tests {
use super::*;
use common::Solution;
use super::*;
#[test]
fn samples_part1() {
let mut instance = Day01::new();
@@ -74,6 +76,4 @@ mod tests {
assert_eq!("5", instance.part2(&mut sample3.as_bytes()));
assert_eq!("14", instance.part2(&mut sample4.as_bytes()));
}
}