diff --git a/2019/day25_cryostasis/src/lib.rs b/2019/day25_cryostasis/src/lib.rs index 31506cd..7d12430 100644 --- a/2019/day25_cryostasis/src/lib.rs +++ b/2019/day25_cryostasis/src/lib.rs @@ -28,7 +28,8 @@ mod tests { #[ignore = "Requires manual inputs."] fn test_challenge() { let challenge_input = read_file("tests/challenge_input"); - // Required items are Cake + Coin + Monolith + Mug. Should output 19013632 in the end. + // Required items are Cake + Coin + Monolith + Mug (shortest route: W, take cake, W, S, take monolith, N, + // W, S, E, E, E, take mug, W, W, W, N, E, E, E, S, take coin, S, W, N, N, N). Should output 19013632 in the end. assert_eq!(run(&challenge_input), Ok(())); } } diff --git a/add.sh b/add.sh index 57778ff..90c6a0b 100755 --- a/add.sh +++ b/add.sh @@ -9,6 +9,7 @@ fi cp -r ../day00/tests day${1}_${2}/ cp ../day00/src/lib.rs day${1}_${2}/src/ cd day${1}_${2} +# echo 'intcode_processor = { path = "../common/intcode_processor" }' >> Cargo.toml aocf checkout $1 aocf brief > challenge.txt aocf input > tests/challenge_input