From d6982c60750c21d05644e96a409cd3bfd0b71f61 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 13 Mar 2021 20:37:16 +0000 Subject: [PATCH] at-otter hidden: Check that things are where we expect Signed-off-by: Ian Jackson --- apitest/at-otter.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apitest/at-otter.rs b/apitest/at-otter.rs index 12fbf507..b59095c3 100644 --- a/apitest/at-otter.rs +++ b/apitest/at-otter.rs @@ -520,6 +520,9 @@ impl Ctx { alice.synchu(&mut a_pieces)?; bob.synchu(&mut b_pieces)?; + assert_eq!(b_pieces[b_pawns[1]].pos, + a_pieces[a_pawns[0]].pos); + // to repro a bug, have Alice move the black pawn out again // observe yellow highlight in bob's view and black pawn is in wrong -- 2.30.2