generated from janezicmatej/aoc-template
fix: add test values for day 2
This commit is contained in:
parent
000000803c
commit
00000090a2
|
@ -72,10 +72,10 @@ mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
#[test]
|
#[test]
|
||||||
fn test_part_one() {
|
fn test_part_one() {
|
||||||
assert_eq!(part_one(&aoc::template::read_file("examples", 2)), None);
|
assert_eq!(part_one(&aoc::template::read_file("examples", 2)), Some(2));
|
||||||
}
|
}
|
||||||
#[test]
|
#[test]
|
||||||
fn test_part_two() {
|
fn test_part_two() {
|
||||||
assert_eq!(part_two(&aoc::template::read_file("examples", 2)), None);
|
assert_eq!(part_two(&aoc::template::read_file("examples", 2)), Some(4));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue