File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
AdventOfCode/2024/day-21/src Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -613,20 +613,20 @@ mod tests {
613
613
Ok ( ( ) )
614
614
}
615
615
616
- // #[test]
617
- // #[allow(non_snake_case)]
618
- // fn test_456A_code() -> Result<(), String> {
619
- // /*
620
- // * 456A: <v<A>>^AA<vA<A>>^AAvAA<^A>A<vA>^A<A>A<vA>^A<A>A<v<A>A>^AAvA<^A>A
621
- // */
622
- // let conundrum: Conundrum = "456A".parse()?;
623
- //
624
- // let actual = conundrum.solve_part1();
625
- // // let expected =
626
- // assert_eq!(expected, actual);
627
- //
628
- // Ok(())
629
- // }
616
+ #[ test]
617
+ #[ allow( non_snake_case) ]
618
+ fn test_456A_code ( ) -> Result < ( ) , String > {
619
+ /*
620
+ * 456A: <v<A>>^AA<vA<A>>^AAvAA<^A>A<vA>^A<A>A<vA>^A<A>A<v<A>A>^AAvA<^A>A
621
+ */
622
+ let conundrum: Conundrum = "456A" . parse ( ) ?;
623
+
624
+ let actual = conundrum. solve_part1 ( ) ;
625
+ let expected = 64 * 456 ;
626
+ assert_eq ! ( expected, actual) ;
627
+
628
+ Ok ( ( ) )
629
+ }
630
630
631
631
//#[test]
632
632
//#[allow(non_snake_case)]
You can’t perform that action at this time.
0 commit comments