Add second test for day2/part1 now that I know the solution

This commit is contained in:
Evie Litherland-Smith 2023-12-31 23:43:38 +00:00
parent 4d7036ade2
commit 2706887b7c

View file

@ -138,4 +138,9 @@ Game 4: 1 green, 3 red, 6 blue; 3 green, 6 red; 3 green, 15 blue, 14 red
Game 5: 6 red, 1 blue, 3 green; 2 blue, 1 red, 2 green"; Game 5: 6 red, 1 blue, 3 green; 2 blue, 1 red, 2 green";
assert_eq!(main(input), 8); assert_eq!(main(input), 8);
} }
#[test]
fn solution() {
assert_eq!(main(include_str!("input.txt")), 2476)
}
} }