File tree Expand file tree Collapse file tree 6 files changed +12
-12
lines changed
Expand file tree Collapse file tree 6 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ use aoc2022::days::day01::{part1, part2};
22
33#[ test]
44fn test_part1 ( ) {
5- let content = std:: include_str!( "../../private/inputs/2019 /day01.txt .txt" ) ;
5+ let content = std:: include_str!( "../../private/inputs/2022 /day01.txt" ) ;
66 assert_eq ! ( part1( & content) , 71780 ) ;
77}
88
99#[ test]
1010fn test_part2 ( ) {
11- let content = std:: include_str!( "../../private/inputs/2019 /day01.txt .txt" ) ;
11+ let content = std:: include_str!( "../../private/inputs/2022 /day01.txt" ) ;
1212 assert_eq ! ( part2( & content) , 212489 ) ;
1313}
Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ use aoc2022::days::day02::{part1, part2};
22
33#[ test]
44fn test_part1 ( ) {
5- let content = std:: include_str!( "../../private/inputs/2019 /day02.txt .txt" ) ;
5+ let content = std:: include_str!( "../../private/inputs/2022 /day02.txt" ) ;
66 assert_eq ! ( part1( & content) , 12156 ) ;
77}
88
99#[ test]
1010fn test_part2 ( ) {
11- let content = std:: include_str!( "../../private/inputs/2019 /day02.txt .txt" ) ;
11+ let content = std:: include_str!( "../../private/inputs/2022 /day02.txt" ) ;
1212 assert_eq ! ( part2( & content) , 10835 ) ;
1313}
Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ use aoc2022::days::day03::{part1, part2};
22
33#[ test]
44fn test_part1 ( ) {
5- let content = std:: include_str!( "../../private/inputs/2019 /day03.txt .txt" ) ;
5+ let content = std:: include_str!( "../../private/inputs/2022 /day03.txt" ) ;
66 assert_eq ! ( part1( & content) , 8240 ) ;
77}
88
99#[ test]
1010fn test_part2 ( ) {
11- let content = std:: include_str!( "../../private/inputs/2019 /day03.txt .txt" ) ;
11+ let content = std:: include_str!( "../../private/inputs/2022 /day03.txt" ) ;
1212 assert_eq ! ( part2( & content) , 2587 ) ;
1313}
Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ use aoc2022::days::day04::{part1, part2};
22
33#[ test]
44fn test_part1 ( ) {
5- let content = std:: include_str!( "../../private/inputs/2019 /day04.txt .txt" ) ;
5+ let content = std:: include_str!( "../../private/inputs/2022 /day04.txt" ) ;
66 assert_eq ! ( part1( & content) , 483 ) ;
77}
88
99#[ test]
1010fn test_part2 ( ) {
11- let content = std:: include_str!( "../../private/inputs/2019 /day04.txt .txt" ) ;
11+ let content = std:: include_str!( "../../private/inputs/2022 /day04.txt" ) ;
1212 assert_eq ! ( part2( & content) , 874 ) ;
1313}
Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ use aoc2022::days::day05::{part1, part2};
22
33#[ test]
44fn test_part1 ( ) {
5- let content = std:: include_str!( "../../private/inputs/2019 /day05.txt .txt" ) ;
5+ let content = std:: include_str!( "../../private/inputs/2022 /day05.txt" ) ;
66 assert_eq ! ( part1( & content) , "ZBDRNPMVH" ) ;
77}
88
99#[ test]
1010fn test_part2 ( ) {
11- let content = std:: include_str!( "../../private/inputs/2019 /day05.txt .txt" ) ;
11+ let content = std:: include_str!( "../../private/inputs/2022 /day05.txt" ) ;
1212 assert_eq ! ( part2( & content) , "WDLPFNNNB" ) ;
1313}
Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ use aoc2022::days::day06::{part1, part2};
22
33#[ test]
44fn test_part1 ( ) {
5- let content = std:: include_str!( "../../private/inputs/2019 /day06.txt .txt" ) ;
5+ let content = std:: include_str!( "../../private/inputs/2022 /day06.txt" ) ;
66 assert_eq ! ( part1( & content) , 1262 ) ;
77}
88
99#[ test]
1010fn test_part2 ( ) {
11- let content = std:: include_str!( "../../private/inputs/2019 /day06.txt .txt" ) ;
11+ let content = std:: include_str!( "../../private/inputs/2022 /day06.txt" ) ;
1212 assert_eq ! ( part2( & content) , 3444 ) ;
1313}
You can’t perform that action at this time.
0 commit comments