aoc_framework 0.1.0

A framework used to run Advent of Code Challenges
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::aoc_runner::challenge::ChallengePart;

pub struct Example<T> {
    pub input: Vec<String>,
    pub expected: T,
    pub part: ChallengePart
}

impl<T> Example<T> {
    pub fn new(input: Vec<String>, expected: T, part: ChallengePart) -> Self {
        Example {
            input,
            expected,
            part
        }
    }
}