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};
2
2
3
3
#[ test]
4
4
fn 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" ) ;
6
6
assert_eq ! ( part1( & content) , 71780 ) ;
7
7
}
8
8
9
9
#[ test]
10
10
fn 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" ) ;
12
12
assert_eq ! ( part2( & content) , 212489 ) ;
13
13
}
Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ use aoc2022::days::day02::{part1, part2};
2
2
3
3
#[ test]
4
4
fn 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" ) ;
6
6
assert_eq ! ( part1( & content) , 12156 ) ;
7
7
}
8
8
9
9
#[ test]
10
10
fn 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" ) ;
12
12
assert_eq ! ( part2( & content) , 10835 ) ;
13
13
}
Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ use aoc2022::days::day03::{part1, part2};
2
2
3
3
#[ test]
4
4
fn 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" ) ;
6
6
assert_eq ! ( part1( & content) , 8240 ) ;
7
7
}
8
8
9
9
#[ test]
10
10
fn 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" ) ;
12
12
assert_eq ! ( part2( & content) , 2587 ) ;
13
13
}
Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ use aoc2022::days::day04::{part1, part2};
2
2
3
3
#[ test]
4
4
fn 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" ) ;
6
6
assert_eq ! ( part1( & content) , 483 ) ;
7
7
}
8
8
9
9
#[ test]
10
10
fn 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" ) ;
12
12
assert_eq ! ( part2( & content) , 874 ) ;
13
13
}
Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ use aoc2022::days::day05::{part1, part2};
2
2
3
3
#[ test]
4
4
fn 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" ) ;
6
6
assert_eq ! ( part1( & content) , "ZBDRNPMVH" ) ;
7
7
}
8
8
9
9
#[ test]
10
10
fn 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" ) ;
12
12
assert_eq ! ( part2( & content) , "WDLPFNNNB" ) ;
13
13
}
Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ use aoc2022::days::day06::{part1, part2};
2
2
3
3
#[ test]
4
4
fn 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" ) ;
6
6
assert_eq ! ( part1( & content) , 1262 ) ;
7
7
}
8
8
9
9
#[ test]
10
10
fn 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" ) ;
12
12
assert_eq ! ( part2( & content) , 3444 ) ;
13
13
}
You can’t perform that action at this time.
0 commit comments