From d35a6cc562c9a98f4338e67c3759e6eed62ea32c Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 21 May 2022 11:48:49 +0100 Subject: [PATCH] at-currency: wip occult test Signed-off-by: Ian Jackson --- apitest/at-currency.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) 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; } -- 2.30.2