summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2022-12-23 23:49:37 -0500
committerJesse Luehrs <doy@tozt.net>2022-12-23 23:49:37 -0500
commitf015a54fb2d23c4945e10a2d2dc7e2fcfe6645a2 (patch)
tree862a57b488f7f1952f5ad1ab5e682b3f4da233cb
parent3cb621a318630db251d64b8f0ae532f68d23a87a (diff)
downloadadvent-of-code-f015a54fb2d23c4945e10a2d2dc7e2fcfe6645a2.tar.gz
advent-of-code-f015a54fb2d23c4945e10a2d2dc7e2fcfe6645a2.zip
day 23 tests
-rw-r--r--src/bin/2022/day23.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/2022/day23.rs b/src/bin/2022/day23.rs
index d469095..e6c2868 100644
--- a/src/bin/2022/day23.rs
+++ b/src/bin/2022/day23.rs
@@ -168,10 +168,10 @@ pub fn part2(mut elves: HashSet<(IRow, ICol)>) -> Result<usize> {
fn test() {
assert_eq!(
part1(parse(parse::data(2022, 23).unwrap()).unwrap()).unwrap(),
- 0
+ 4254
);
assert_eq!(
part2(parse(parse::data(2022, 23).unwrap()).unwrap()).unwrap(),
- 0
+ 992
);
}