adjust future_move test
This commit is contained in:
@@ -407,6 +407,7 @@ mod tests {
|
||||
Piece::Black,
|
||||
Some(0),
|
||||
));
|
||||
|
||||
futm.arena.push(Move::new(
|
||||
0,
|
||||
0,
|
||||
@@ -419,7 +420,7 @@ mod tests {
|
||||
assert_eq!(futm.arena_len(), 5);
|
||||
|
||||
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_ne!(futm.arena[2].i, 1234, "dummy value still exists");
|
||||
|
||||
Reference in New Issue
Block a user