From: Ian Jackson Date: Sat, 21 May 2022 10:48:49 +0000 (+0100) Subject: at-currency: wip occult test X-Git-Tag: otter-1.1.0~38 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=d35a6cc562c9a98f4338e67c3759e6eed62ea32c;p=otter.git at-currency: wip occult test Signed-off-by: Ian Jackson --- diff --git a/apitest/at-currency.rs b/apitest/at-currency.rs index 478871ca..6bf7123a 100644 --- a/apitest/at-currency.rs +++ b/apitest/at-currency.rs @@ -64,6 +64,16 @@ impl Ctx { "wrc": WRC::Unpredictable })))?; let hand_pos = a_pieces[hand].pos; + alice.synchu(&mut a_pieces)?; + + let bank = a_pieces.find_by_desc_glob("*400ƒ*"); + alice.api_piece_op_single(PuSynch((&mut a_pieces, bank)).id(), ( + "multigrab", json!({ "n": 399, 'z': "u000000000" }) + ))?; + + alice.api_piece(GH::Ungrab, PuSynch((&mut a_pieces, bank)), hand_pos)?; + alice.synchu(&mut a_pieces)?; + let _ = &mut bob; let _ = bob; }