From: Ian Jackson Date: Sat, 13 Mar 2021 18:35:16 +0000 (+0000) Subject: at-otter hidden: Move a pawn out of occultation X-Git-Tag: otter-0.4.0~99 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=70f6f3bc2557bcf0a6cee8b73a44e438e20b96a4;p=otter.git at-otter hidden: Move a pawn out of occultation Signed-off-by: Ian Jackson --- diff --git a/apitest/at-otter.rs b/apitest/at-otter.rs index f9f8dbfd..c1e188d6 100644 --- a/apitest/at-otter.rs +++ b/apitest/at-otter.rs @@ -507,6 +507,15 @@ impl Ctx { assert_eq!(got, None); } + for (xi, &p) in a_pawns.iter().enumerate().take(1) { + alice.api_with_piece_op_synch(&a_pieces[p].id, "m", json![ + [ (xi+1) * 15, 20 ] + ])?; + } + + alice.synch()?; + bob.synchu(&mut b_pieces)?; + // to repro a bug, have Bob move the RHS pawn out again self.su_mut().mgmt_conn.fakerng_unfake()?;