adjust future_move test

This commit is contained in:
2025-02-21 19:53:20 -05:00
parent ff8211709d
commit 40df20938b

View File

@@ -407,6 +407,7 @@ mod tests {
Piece::Black, Piece::Black,
Some(0), Some(0),
)); ));
futm.arena.push(Move::new( futm.arena.push(Move::new(
0, 0,
0, 0,
@@ -419,7 +420,7 @@ mod tests {
assert_eq!(futm.arena_len(), 5); assert_eq!(futm.arena_len(), 5);
futm.refocus_tree(); futm.refocus_tree();
assert_eq!(futm.arena_len(), 4, "{:?}", futm.arena); assert_eq!(futm.arena_len(), 4);
assert_eq!(futm.arena[0].children.len(), 3); assert_eq!(futm.arena[0].children.len(), 3);
assert_ne!(futm.arena[2].i, 1234, "dummy value still exists"); assert_ne!(futm.arena[2].i, 1234, "dummy value still exists");