diff --git a/src/logic/future_moves.rs b/src/logic/future_moves.rs index 6787ff7..c3690de 100644 --- a/src/logic/future_moves.rs +++ b/src/logic/future_moves.rs @@ -65,7 +65,11 @@ impl FutureMoves { self.prune_bad_children(); self.current_depth += 1; } - assert_eq!(self.current_depth, self.max_depth); + assert_eq!( + self.current_depth, self.max_depth, + "iteration and extention did not extend current_depth ({}) to the max_depth ({})", + self.current_depth, self.max_depth + ); } /// Determines if a [`Move`] at index `idx` is connected to `self.current_root`